Answer the question
In order to leave comments, you need to log in
How to make a similar button with rounded edges on hover without overflow?
Hello.
I was faced with the task of making a similar button. I did, applied overflow: hidden and it gave a defect - against a white background, artifacts of the button's native color are noticeable along the edges. Now I don’t understand how to make a similar button, but without overflow, provided that the edges should always be rounded, and the pseudo-element, even with width: 0%, should have the necessary rounding, like a button. In short, you need to make overflow: hidden without using such a property. I would be very grateful for your help! Thank you.
https://codepen.io/anon/pen/eMmZpo
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question