Open nnnswordfish opened 4 years ago
you should apply border-radius to ::before
as well. I think that will solve the problem
apply border-radius to both button and ::before
and i dont think you will need overflow: hidden
then
check if it has any border-radius
or any padding mistakes i think it would work.
Hi,
After giving
border-radius
andoverflow: hidden
to the button element, hover animations do NOT render well,:after
background is cut on corners.Please see a screenshot - https://imgur.com/Z1tv44Q