Skip to content

Commit bc8881a

Browse files
committed
Add todo spec test for libsass issue 254
sass/libsass#254
1 parent 81bc577 commit bc8881a

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
body {
2+
border-color: "#ccc"; }
3+
@media only screen and (max-width: 900px) and (min-width: 400px) {
4+
body {
5+
border-color: black; } }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@mixin simple-media-query($max-width, $min-width) {
2+
@media only screen and (max-width: $max-width) and (min-width: $min-width) {
3+
@content;
4+
}
5+
}
6+
7+
@mixin test($value) {
8+
border-color: $value;
9+
}
10+
11+
body
12+
{
13+
@include test("#ccc");
14+
@include simple-media-query(900px, 400px) {
15+
border-color: black;
16+
}
17+
}

0 commit comments

Comments
 (0)