Created
October 15, 2019 10:07
-
-
Save Lysindr/c8f1dc322ad934325f4ad5750e448317 to your computer and use it in GitHub Desktop.
Fix for overflow: hidden with border-radius
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.products-slider { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
width: 672px; | |
height: 672px; | |
border-radius: 50%; | |
overflow: hidden; | |
/* fixes for device. This need for correct work border-radius with overflow */ | |
-webkit-mask-image: -webkit-radial-gradient(white, black); | |
/* fixes for device. This need for correct work border-radius with overflow */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment