summaryrefslogtreecommitdiff
path: root/scss/tests/files/bugs/at-rules-interpolation.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/tests/files/bugs/at-rules-interpolation.scss')
-rw-r--r--scss/tests/files/bugs/at-rules-interpolation.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/scss/tests/files/bugs/at-rules-interpolation.scss b/scss/tests/files/bugs/at-rules-interpolation.scss
new file mode 100644
index 0000000..6cf78ef
--- /dev/null
+++ b/scss/tests/files/bugs/at-rules-interpolation.scss
@@ -0,0 +1,23 @@
+$width: 900px;
+
+@media (max-width: $width) {
+ div {
+ color: red;
+ }
+}
+
+
+@mixin keyframes($name) {
+ @keyframes #{$name} {
+ @content;
+ }
+}
+
+@include keyframes(spin) {
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ transform: rotate(-359deg);
+ }
+}