-
Notifications
You must be signed in to change notification settings - Fork 142
/
04_min_max.css
30 lines (29 loc) · 812 Bytes
/
04_min_max.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Set min-width/max-width
* if both values are numbers
* $min-max-default-feature : 500px 700px;
*/
@media (min-width: 500px) and (max-width: 700px) {
.foo {
content: "$min-max-default-feature";
content: "@media (min-width: 500px) and (max-width: 700px)";
}
}
@media (min-width: 500px) and (max-width: 700px) {
.foo {
content: "$min-max-default-feature";
content: "@media (min-width: 500px) and (max-width: 700px)";
}
}
@media (min-width: 31.25em) and (max-width: 43.75em) {
.bar {
content: "$min-max-default-feature";
content: "@media (min-width: 31.25em) and (max-width: 43.75em)";
}
}
@media (min-width: 31.25em) and (max-width: 43.75em) {
.bar {
content: "$min-max-default-feature";
content: "@media (min-width: 31.25em) and (max-width: 43.75em)";
}
}