Last active
June 8, 2016 08:31
-
-
Save FutureMedia/fcf93b00c2ebd0c4dbbb5700eaa336b2 to your computer and use it in GitHub Desktop.
CSS blurred background
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
opacity: .2; | |
filter: alpha(opacity=20); | |
filter: blur(4px); | |
-webkit-filter: blur(4px); | |
-moz-filter: blur(4px); | |
-o-filter: blur(4px); | |
-ms-filter: blur(4px); | |
filter: progid: DXImageTransform.Microsoft.blur(pixelradius=3) | |
Also (better) using backdrop-filter (https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter): | |
-webkit-backdrop-filter: opacity(20%) blur(2px); | |
backdrop-filter: opacity(20%) blur(2px); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment