Forked from AnnoyingTechnology/Bootstrap-4-blurred-modal.css
Created
April 25, 2021 07:19
-
-
Save DhiaDjobbi/d5de90568cc98901b212d69b5f65c087 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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment