| 1 |
$x: true; |
| 2 |
|
| 3 |
@mixin foobar() { |
| 4 |
@if $x { |
| 5 |
$x: false !global; |
| 6 |
content: foo; |
| 7 |
} |
| 8 |
@else { |
| 9 |
$x: true !global; |
| 10 |
content: bar; |
| 11 |
} |
| 12 |
} |
| 13 |
|
| 14 |
div { |
| 15 |
@include foobar(); |
| 16 |
@include foobar(); |
| 17 |
@include foobar(); |
| 18 |
$x: true !global; |
| 19 |
@include foobar(); |
| 20 |
} |