-
-
Save AnnoyingTechnology/191e888988242371699fb7870f0e379e to your computer and use it in GitHub Desktop.
Bootstrap modal with blurry background
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
/* blurred background modal for bootstrap v4 */ | |
body.modal-open > :not(.modal) { | |
-webkit-filter: blur(5px); | |
-moz-filter: blur(5px); | |
-o-filter: blur(5px); | |
-ms-filter: blur(5px); | |
filter: blur(5px); | |
} |
Glad you found it useful :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works perfectly fine 👍