CSS Device Adaptation (@viewport rule)

@-ms-viewport { width: device-width; zoom: 1; max-zoom: 1; user-zoom: fixed; } @-o-viewport { width: device-width; zoom: 1; max-zoom: 1; user-zoom: fixed; } /* Doesn't work yet @viewport { width: device-width; zoom: 1; max-zoom: 1; user-zoom: fixed; } */
A standard way to override the size of viewport in web page using the @viewport rule, standardizing and replacing Apple's own popular <meta> viewport implementation.

http://caniuse.com/#feat=css-deviceadaptation
https://dev.opera.com/articles/an-introduction-to-meta-viewport-and-viewport/

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.