Created
May 9, 2014 11:53
-
-
Save Potherca/dab7cdd9f9fcfd093199 to your computer and use it in GitHub Desktop.
Gravatar as fullscreen background image
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
/** | |
* Gravatar as fullscreen background image | |
* | |
* http://dabblet.com/gist/dab7cdd9f9fcfd093199/1c0636877b6081af33f698740a720e9d25ece924 | |
*/ | |
body { | |
position: absolute; | |
top: 0; bottom: 0; left: 0; right: 0; | |
height: 100%; | |
background-color: rgb(186, 21, 21); | |
overflow: hidden; | |
} | |
body:before { | |
content: ""; | |
position: absolute; | |
height: 100%; width: 100%; | |
background: url(http://www.gravatar.com/avatar/f8d7c4a4899736c59ec1e40c7021d477?s=1024) no-repeat center center fixed; | |
z-index: -1; /* Keep the background behind the content */ | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
-webkit-filter: blur(0.45em); | |
-moz-filter: blur(0.45em); | |
-o-filter: blur(0.45em); | |
-ms-filter: blur(0.45em); | |
filter: blur(0.45em); | |
} | |
p { | |
display:none; | |
} |
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
<p> | |
Your text goes here... | |
</p> |
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
/*_*/ |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment