iOS Web CSS/HTML Minimum


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.