1/* Smartphones (portrait and landscape) ----------- */
2
3@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
4 /* Styles */
5}
6/* Smartphones (landscape) ----------- */
7
8@media only screen and (min-width: 321px) {
9 /* Styles */
10}
11/* Smartphones (portrait) ----------- */
12
13@media only screen and (max-width: 320px) {
14 /* Styles */
15}
16/* iPads (portrait and landscape) ----------- */
17
18@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
19 /* Styles */
20}
21/* iPads (landscape) ----------- */
22
23@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
24 /* Styles */
25}
26/* iPads (portrait) ----------- */
27
28@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
29 /* Styles */
30}
31/**********
32iPad 3
33**********/
34
35@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
36 /* Styles */
37}
38@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
39 /* Styles */
40}
41/* Desktops and laptops ----------- */
42
43@media only screen and (min-width: 1224px) {
44 /* Styles */
45}
46/* Large screens ----------- */
47
48@media only screen and (min-width: 1824px) {
49 /* Styles */
50}
51/* iPhone 4 ----------- */
52
53@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
54 /* Styles */
55}
56@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
57 /* Styles */
58}
59/* iPhone 5 ----------- */
60
61@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
62 /* Styles */
63}
64@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
65 /* Styles */
66}
67/* iPhone 6 ----------- */
68
69@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
70 /* Styles */
71}
72@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
73 /* Styles */
74}
75/* iPhone 6+ ----------- */
76
77@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
78 /* Styles */
79}
80@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
81 /* Styles */
82}
83/* Samsung Galaxy S3 ----------- */
84
85@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
86 /* Styles */
87}
88@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
89 /* Styles */
90}
91/* Samsung Galaxy S4 ----------- */
92
93@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
94 /* Styles */
95}
96@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
97 /* Styles */
98}
99/* Samsung Galaxy S5 ----------- */
100
101@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
102 /* Styles */
103}
104@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
105 /* Styles */
106}
107