Skip to content

Commit b092549

Browse files
committed
Merge pull request #796 from mgreter/todo/issue_254
Add todo spec test for libsass issue 254
2 parents ed7622e + bc8881a commit b092549

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)