Created
February 27, 2013 21:24
-
-
Save akella/5051873 to your computer and use it in GitHub Desktop.
ios bg problem
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
.container { | |
position: relative; | |
margin:77px 0; | |
height:2209px; | |
background: url(../images/bg.jpg) no-repeat 50% 0; | |
-webkit-background-size: 3000px 2209px; | |
font-family: 'Conv_Underdog', Tahoma, sans-serif; | |
font-size:14px; | |
color: #3d2415; | |
} | |
@media only screen and (max-device-width: 480px){ | |
.container{ | |
background: | |
url(../images/bgs/1.jpg) no-repeat 50% 0, | |
url(../images/bgs/2.jpg) no-repeat 50% 300px, | |
url(../images/bgs/3.jpg) no-repeat 50% 600px, | |
url(../images/bgs/4.jpg) no-repeat 50% 900px, | |
url(../images/bgs/5.jpg) no-repeat 50% 1200px, | |
url(../images/bgs/6.jpg) no-repeat 50% 1500px, | |
url(../images/bgs/7.jpg) no-repeat 50% 1800px, | |
url(../images/bgs/8.jpg) no-repeat 50% 2100px; | |
-webkit-background-size: 3000px 300px,3000px 300px,3000px 300px,3000px 300px,3000px 300px,3000px 300px,3000px 300px,3000px 109px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment