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