Skip to content

Instantly share code, notes, and snippets.

@ianthekid
Last active August 29, 2015 14:18
Show Gist options
  • Save ianthekid/a80bd359777a97363d27 to your computer and use it in GitHub Desktop.
Save ianthekid/a80bd359777a97363d27 to your computer and use it in GitHub Desktop.
Fix Background Size cover for iOS Safari stretching max 100%
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
.bg {
background-attachment: scroll !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment