| 1 |
|
| 2 |
@mixin foo($x, $y) { |
| 3 |
color: $x, $y; |
| 4 |
} |
| 5 |
|
| 6 |
div { |
| 7 |
color: type-of(red); |
| 8 |
color: type-of("red"); |
| 9 |
color: type-of(#abc); |
| 10 |
color: type-of(123); |
| 11 |
color: type-of(45px); |
| 12 |
color: type-of(98%); |
| 13 |
color: type-of(1 2 3); |
| 14 |
color: type-of(hey); |
| 15 |
color: type-of("ho"); |
| 16 |
color: type-of(#{1+2}px); |
| 17 |
color: type-of(true); |
| 18 |
color: type-of(false); |
| 19 |
color: type-of(45 or false); |
| 20 |
color: type-of(#{#abc}); |
| 21 |
color: ty#{pe}-of(red); |
| 22 |
color: quote(le#{ng}th(a b c d)); |
| 23 |
color: aqua; |
| 24 |
$x : aqua; |
| 25 |
color: $x; |
| 26 |
color: $x; |
| 27 |
width: #{1+2}+3; |
| 28 |
thing: url(type-of(3+3)); |
| 29 |
//foo + bar: 3px; |
| 30 |
} |
| 31 |
|
| 32 |
//@import url(type-of(3+3)); |