diff options
Diffstat (limited to 'tests/sass/resources/scss/control-directives.scss')
-rw-r--r-- | tests/sass/resources/scss/control-directives.scss | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/sass/resources/scss/control-directives.scss b/tests/sass/resources/scss/control-directives.scss new file mode 100644 index 0000000000..febd563f19 --- /dev/null +++ b/tests/sass/resources/scss/control-directives.scss @@ -0,0 +1,14 @@ +@for $i from 1 through 3 { + .item-#{$i} { width: 2em * $i; } +} + +@while $i > 0 { + .item-#{$i} { width: 2em * $i; } + $i: $i - 2; +} + +@each $animal in puma, sea-slug, egret, salamander { + .#{$animal}-icon { + background-image: url('/images/#{$animal}.png'); + } +}
\ No newline at end of file |