Created
October 25, 2020 15:03
-
-
Save ilyas-shah/c2ee8e69b251125914390165f3273c19 to your computer and use it in GitHub Desktop.
Close round button in CSS
This file contains hidden or 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
.close__btn { | |
position: absolute; | |
right: -18px; | |
top: -18px; | |
border: 1px solid white; | |
box-shadow: -6px 1em 3em 0px rgba(0, 0, 0, 0.1); | |
border-radius: 25px 25px 25px 25px; | |
width: 40px; | |
text-align: center; | |
background: white; | |
padding: 8px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment