1<style type="text/css">
2 /* default styles here for older browsers.
3 I tend to go for a 600px - 960px width max but using percentages
4 */
5 @media only screen and (min-width: 960px) {
6 /* styles for browsers larger than 960px; */
7 }
8 @media only screen and (min-width: 1440px) {
9 /* styles for browsers larger than 1440px; */
10 }
11 @media only screen and (min-width: 2000px) {
12 /* for sumo sized (mac) screens */
13 }
14 @media only screen and (max-device-width: 480px) {
15 /* styles for mobile browsers smaller than 480px; (iPhone) */
16 }
17 @media only screen and (device-width: 768px) {
18 /* default iPad screens */
19 }
20 /* different techniques for iPad screening */
21 @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
22 /* For portrait layouts only */
23 }
24
25 @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
26 /* For landscape layouts only */
27 }
28</style>