| 1 |
$x: a 3/4 b; |
| 2 |
$y: hey; |
| 3 |
|
| 4 |
@function foo() { |
| 5 |
@return 3/4; |
| 6 |
} |
| 7 |
|
| 8 |
div { |
| 9 |
hoo: 3/4; |
| 10 |
goo: nth($x, 2); |
| 11 |
foo: 15 / nth($x, 2); |
| 12 |
foo: .25 + nth($x, 2); |
| 13 |
coo: 2/3 / nth($x, 2); |
| 14 |
bar: $y and true; |
| 15 |
bar: false and true; |
| 16 |
bar: (false) and true; |
| 17 |
@each $elem in $x { |
| 18 |
blah: $elem; |
| 19 |
} |
| 20 |
bloo: foo(); |
| 21 |
@warn 2/3; |
| 22 |
blix: "hey #{nth($x, 2)} ho"; |
| 23 |
} |
| 24 |
|
| 25 |
@media screen and (hux: 3/4) { |
| 26 |
div { |
| 27 |
color: red; |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
@warn "blah blah"; |
| 32 |
|
| 33 |
div { |
| 34 |
blah: "ho #{nth($x, 2) } ho"; |
| 35 |
} |
| 36 |
|
| 37 |
span { |
| 38 |
fludge: (true and 3/4); |
| 39 |
} |