Posted By

streamt on 11/26/10


Tagged

css web iphone iPad


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

tyfi84
sag333ar
roybatty


iOS Web CSS/HTML Minimum


 / Published in: CSS
 

  1. html
  2. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  3.  
  4. <body ontouchmove="event.preventDefault();">
  5.  
  6. css
  7. @media only screen and (orientation: landscape)
  8. {
  9. /*Landscape css*/
  10. }

Report this snippet  

You need to login to post a comment.