Advertisement
perazite

media queries

Feb 15th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.45 KB | None | 0 0
  1. @media (max-device-width: 1024px) {
  2.   /*IPad portrait AND netbooks, AND anything with smaller screen*/
  3.   /*make the design flexible if possible */
  4.   /*Structure your code thinking about all devices that go below*/
  5. }
  6. @media (max-device-width: 640px) {
  7.  /*Iphone portrait and smaller*/
  8. }
  9. @media (max-device-width: 540px) {
  10.  /*Smaller and smaller...*/
  11. }
  12. @media (max-device-width: 320px) {
  13.  /*IPhone portrait and smaller. You can probably stop on 320px*/
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement