iOS Media Queries


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



Copy this code and paste it in your HTML
  1. @media screen and (max-width: 1024px) /*iPad Landscpae*/ {
  2. }
  3.  
  4. @media screen and (max-width: 770px) /*iPad Portrait */ {
  5. }
  6.  
  7. @media screen and (max-width: 480px) /*iPhone Landscape */ {
  8. }
  9.  
  10. @media screen and (max-width: 320px) /*iPhone Portrait */ {
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.