Created
June 18, 2022 11:15
-
-
Save hucancode/3a8986519187a5e27c3ca080e4cced21 to your computer and use it in GitHub Desktop.
Give backdrop to element without wrapping it in an extra div
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
.modal::backdrop { | |
background: rgb(0 0 0 / 0.5); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment