Created
December 17, 2013 12:40
-
-
Save Shaz3e/8004313 to your computer and use it in GitHub Desktop.
With this trick you can use full page 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
<div class="s3-shaz3e"> | |
An Example for | |
</div> |
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
html { | |
background: url(https://imageshack.com/a/img19/4153/vt2k.jpg) no-repeat center center fixed; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
/* IE Fixed*/ | |
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.https://imageshack.com/a/img19/4153/vt2k.jpg', sizingMethod='scale'); | |
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://imageshack.com/a/img19/4153/vt2k.jpg', sizingMethod='scale')"; | |
} | |
.s3-shaz3e{ | |
position:absolute; | |
left:15%; | |
top:45%; | |
width: auto; | |
height: auto; | |
font-size:150%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment