diff options
-rw-r--r-- | scss/tests/files/general/010-destructuring-each-2.css | 15 | ||||
-rw-r--r-- | scss/tests/files/general/010-destructuring-each-2.scss | 9 |
2 files changed, 24 insertions, 0 deletions
diff --git a/scss/tests/files/general/010-destructuring-each-2.css b/scss/tests/files/general/010-destructuring-each-2.css new file mode 100644 index 0000000..1537e5d --- /dev/null +++ b/scss/tests/files/general/010-destructuring-each-2.css @@ -0,0 +1,15 @@ +.puma-icon { + background-image: url('/images/puma.png'); + border: 2px solid black; + cursor: default; +} +.sea-slug-icon { + background-image: url('/images/sea-slug.png'); + border: 2px solid blue; + cursor: pointer; +} +.egret-icon { + background-image: url('/images/egret.png'); + border: 2px solid white; + cursor: move; +} diff --git a/scss/tests/files/general/010-destructuring-each-2.scss b/scss/tests/files/general/010-destructuring-each-2.scss new file mode 100644 index 0000000..81c4aaf --- /dev/null +++ b/scss/tests/files/general/010-destructuring-each-2.scss @@ -0,0 +1,9 @@ +@each $animal, $color, $cursor in (puma, black, default), + (sea-slug, blue, pointer), + (egret, white, move) { + .#{$animal}-icon { + background-image: url('/images/#{$animal}.png'); + border: 2px solid $color; + cursor: $cursor; + } +} |