Created
September 25, 2013 21:05
-
-
Save devinhalladay/6706037 to your computer and use it in GitHub Desktop.
Blurred bg with css3
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
#bg { | |
-webkit-filter: blur(20px); | |
-moz-filter: blur(20px); | |
-o-filter: blur(20px); | |
-ms-filter: blur(20px); | |
filter: blur(20px); | |
opacity: 0.4; | |
} |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Your Website</title> | |
</head> | |
<body> | |
<div>{{ content }}</div> | |
<div id="bg"><img src="http://placekitten.com/g/1920/1080"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment