| 1 |
@media all and (min-width: 960px) { b { font-weight: normal; } } |
| 2 |
@media (min-width: 980px) { a { color: red; } } |
| 3 |
@media all { /* hey */ |
| 4 |
p { color: blue; } |
| 5 |
p a { color: green; } |
| 6 |
p a:after { content: ">>"; } |
| 7 |
span { display: inline-block; } } |
| 8 |
a b c { /* a */ blee: blee; /* b */ /* c */ /* d */ blah: blah; } |
| 9 |
a b c d e f { blah: blah; bloo: bloo; } |
| 10 |
@media print and (foo: 1 2 3), (bar: 3px hux(muz)), not screen { a b c g h, a b c i j { /* aa */ hey: ho; /* bb */ /* cc */ haa: hoo; /* dd */ } |
| 11 |
a b c g h k l m, a b c i j k l m { hee: fee; } } |
| 12 |
|
| 13 |
body { border-color: "#ccc"; } |
| 14 |
@media only screen and (max-width: 900px) and (min-width: 400px) { body { border-color: black; } } |
| 15 |
|
| 16 |
@media only screen and (max-width: 23) and (min-width: 45) { hey { ho: hoo; } } |
| 17 |
@media (max-width: 200) and (min-width: 100) { div { color: red; } } |
| 18 |
@media not blah and (width: 200px) { div { color: brown, blue, black; } } |
| 19 |
@media screen and (max-device-width: 500px) { foo { bar: "works"; } } |
| 20 |
div { color: red; } |
| 21 |
div span { color: blue; } |
| 22 |
@media screen { div span p { color: green; } } |