W
W
Worddoc2018-03-07 16:05:42
css
Worddoc, 2018-03-07 16:05:42

Why does a rounded button have a defect on hover?

Hello.
The problem is that if there is an element inside the button 100% of the width and height, which has a color different from the button, the inner element, overlapping the button completely, causes the button to generate a defect in the form of lines along the edges with the native color of the button. Than it can be caused? I bet what time ... Thank you.
https://codepen.io/anon/pen/LQwoyO

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arman, 2018-03-07
@Worddoc

if without "overflow: hidden;" ?

S
Sergey Pozdnyakov, 2018-03-07
@webdesignermsk

Because because, try to make liquid by morphing.
It will be cooler and more interesting...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question