maxlee / imq.scss

Sass Media Queries including iOS devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

_imq.scss

Sass Media Queries including iOS devices.

Get started

@import "imq";

Example:

Input:

body {
    width: 100%;
    @include media(iphone5) {
        width: 640px;
    }
}

Output:

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;
    }
}

License:

The MIT license

About

Sass Media Queries including iOS devices

License:MIT License


Languages

Language:CSS 100.0%