-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmediaqueries.css
39 lines (23 loc) · 1.42 KB
/
mediaqueries.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* Useful Media Queries */
/* Targetting specific device sizes and resolutions */
/* iPad ------------------------ */
/* iPad in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { }
/* iPad in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { }
/* iPad in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { }
/* iPad with retina, add "and (-webkit-min-device-pixel-ratio: 2)" */
/* iPhone ---------------------- */
/* iPhone 5 in portrait & landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) { }
/* iPhone 5 in landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { }
/* iPhone 5 in portrait */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) { }
/* iPhone <5 in portrait & landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { }
/* iPhone <5 in landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) { }
/* iPhone <5 in portrait */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) { }