Advertisement
Guest User

mediaQueries Apple

a guest
Jan 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.65 KB | None | 0 0
  1. /* ####################### APPLE ####################### */ยด
  2. /* ----------- iPhone 4 & S ----------- */
  3. /* Portrait & Landscape */
  4. @media only screen
  5. and (min-device-width: 320px)
  6. and (max-device-width: 480px)
  7.  
  8. /* Portrait */
  9. @media only screen
  10. and (min-device-width: 320px)
  11. and (max-device-width: 480px)
  12. and (orientation: portrait)
  13.  
  14. /* Landscape */
  15. @media only screen
  16. and (min-device-width: 320px)
  17. and (max-device-width: 480px)
  18. and (orientation: landscape)
  19.  
  20. /* ----------- iPhone 5, S, C & SE ----------- */
  21. /* Portrait & Landscape */
  22. @media only screen
  23. and (min-device-width: 320px)
  24. and (max-device-width: 568px)
  25.  
  26. /* Portrait */
  27. @media only screen
  28. and (min-device-width: 320px)
  29. and (max-device-width: 568px)
  30. and (orientation: portrait)
  31.  
  32. /* Landscape */
  33. @media only screen
  34. and (min-device-width: 320px)
  35. and (max-device-width: 568px)
  36. and (orientation: landscape)
  37.  
  38. /* ----------- iPhone 6, 6S, 7 & 8 ----------- */
  39. /* Portrait & Landscape */
  40. @media only screen
  41. and (min-device-width: 375px)
  42. and (max-device-width: 667px)
  43.  
  44. /* Portrait */
  45. @media only screen
  46. and (min-device-width: 375px)
  47. and (max-device-width: 667px)
  48. and (orientation: portrait)
  49.  
  50. /* Landscape */
  51. @media only screen
  52. and (min-device-width: 375px)
  53. and (max-device-width: 667px)
  54. and (orientation: landscape)
  55.  
  56. /* ----------- iPhone 6 Plus, 7 Plus & 8 Plus ----------- */
  57. /* Portrait & Landscape */
  58. @media only screen
  59. and (min-device-width: 414px)
  60. and (max-device-width: 736px)
  61.  
  62. /* Portrait */
  63. @media only screen
  64. and (min-device-width: 414px)
  65. and (max-device-width: 736px)
  66. and (orientation: portrait)
  67.  
  68. /* Landscape */
  69. @media only screen
  70. and (min-device-width: 414px)
  71. and (max-device-width: 736px)
  72. and (orientation: landscape)
  73.  
  74. /* ----------- iPhone X ----------- */
  75. /* Portrait & Landscape */
  76. @media only screen
  77. and (min-device-width: 375px)
  78. and (max-device-width: 812px)
  79.  
  80. /* Portrait */
  81. @media only screen
  82. and (min-device-width: 375px)
  83. and (max-device-width: 812px)
  84. and (orientation: portrait)
  85.  
  86. /* Landscape */
  87. @media only screen
  88. and (min-device-width: 375px)
  89. and (max-device-width: 812px)
  90. and (orientation: landscape)
  91.  
  92. /* ----------- I Pads (alle Gernerationen) ----------- */
  93. /* Portrait & Landscape */
  94. @media only screen
  95. and (min-device-width : 768px)
  96. and (max-device-width : 1024px)
  97.  
  98. /* Portrait */
  99. @media only screen
  100. and (min-device-width: 768px)
  101. and (max-device-width: 1024px)
  102. and (orientation: portrait)
  103.  
  104. /* Landscape */
  105. @media only screen
  106. and (min-device-width: 768px)
  107. and (max-device-width: 1024px)
  108. and (orientation: landscape)
  109. /* ##################################################### */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement