Created
June 10, 2022 09:56
-
-
Save romainavalle/db12857f7b4bd8bbeee08c0e66acf9e4 to your computer and use it in GitHub Desktop.
border-radius scss class
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
.b-r{ | |
border-radius: $radius; | |
overflow: hidden; | |
&.-animating{ | |
-webkit-mask-image: -webkit-radial-gradient(white, black); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment