Sass Media Queries including iOS devices.
@import "imq";body {
width: 100%;
@include media(iphone5) {
width: 640px;
}
}body {
width: 100%;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-device-pixel-ratio: 2) {
body {
width: 640px;
}
}The MIT license