Guest User

Untitled

a guest
Oct 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. /* All screens in portrait mode */
  2.  
  3. /* iPhone 5 */
  4. @media only screen and (max-width : 320px) {
  5. /* Styles */
  6. }
  7.  
  8. /* Galaxy S5 */
  9. @media only screen and (max-width : 360px) {
  10. /* Styles */
  11. }
  12.  
  13. /* iPhone 6 */
  14. @media only screen and (max-width : 380px) {
  15. /* Styles */
  16. }
  17.  
  18. /* iPhone 6 Plus */
  19. @media only screen and (max-width : 420px) {
  20. /* Styles */
  21. }
  22.  
  23. /* iPads (portrait and landscape) */
  24. @media only screen
  25. and (min-width : 768px)
  26. and (max-width : 1024px) {
  27. /* Styles */
  28. }
  29.  
  30. /* iPads (landscape) ----------- */
  31. @media only screen
  32. and (min-device-width : 768px)
  33. and (max-device-width : 1024px)
  34. and (orientation : landscape) {
  35. /* Styles */
  36. }
  37.  
  38. /* iPads (portrait) ----------- */
  39. @media only screen
  40. and (min-device-width : 768px)
  41. and (max-device-width : 1024px)
  42. and (orientation : portrait) {
  43. /* Styles */
  44. }
  45.  
  46. /* Desktops and laptops ----------- */
  47. @media only screen
  48. and (min-width : 1224px) {
  49. /* Styles */
  50. }
  51.  
  52. /* Large screens ----------- */
  53. @media only screen
  54. and (min-width : 1824px) {
  55. /* Styles */
  56. }
Add Comment
Please, Sign In to add comment