| 1 |
@media all and (min-width: 960px) { |
| 2 |
b { |
| 3 |
font-weight: normal; } } |
| 4 |
@media (min-width: 980px) { |
| 5 |
a { |
| 6 |
color: red; } } |
| 7 |
@media all { |
| 8 |
/* hey */ |
| 9 |
p { |
| 10 |
color: blue; } |
| 11 |
p a { |
| 12 |
color: green; } |
| 13 |
p a:after { |
| 14 |
content: ">>"; } |
| 15 |
|
| 16 |
span { |
| 17 |
display: inline-block; } } |
| 18 |
a b c { |
| 19 |
/* a */ |
| 20 |
blee: blee; |
| 21 |
/* b */ |
| 22 |
/* c */ |
| 23 |
/* d */ |
| 24 |
blah: blah; } |
| 25 |
a b c d e f { |
| 26 |
blah: blah; |
| 27 |
bloo: bloo; } |
| 28 |
@media print and (foo: 1 2 3), (bar: 3px hux(muz)), not screen { |
| 29 |
a b c g h, a b c i j { |
| 30 |
/* aa */ |
| 31 |
hey: ho; |
| 32 |
/* bb */ |
| 33 |
/* cc */ |
| 34 |
haa: hoo; |
| 35 |
/* dd */ } |
| 36 |
a b c g h k l m, a b c i j k l m { |
| 37 |
hee: fee; } } |
| 38 |
|
| 39 |
body { |
| 40 |
border-color: "#ccc"; } |
| 41 |
@media only screen and (max-width: 900px) and (min-width: 400px) { |
| 42 |
body { |
| 43 |
border-color: black; } } |
| 44 |
|
| 45 |
@media only screen and (max-width: 23) and (min-width: 45) { |
| 46 |
hey { |
| 47 |
ho: hoo; } } |
| 48 |
@media (max-width: 200) and (min-width: 100) { |
| 49 |
div { |
| 50 |
color: red; } } |
| 51 |
@media not blah and (width: 200px) { |
| 52 |
div { |
| 53 |
color: brown, blue, black; } } |
| 54 |
@media screen and (max-device-width: 500px) { |
| 55 |
foo { |
| 56 |
bar: "works"; } } |
| 57 |
div { |
| 58 |
color: red; } |
| 59 |
div span { |
| 60 |
color: blue; } |
| 61 |
@media screen { |
| 62 |
div span p { |
| 63 |
color: green; } } |