-
Notifications
You must be signed in to change notification settings - Fork 4
/
test.scss
86 lines (72 loc) · 979 Bytes
/
test.scss
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
@import 'media';
$media-breakpoints: (
small: 0 320,
medium: 321 480,
large: 481 768,
extra-large: 769
);
@include media(small) {
body {
color: red;
}
}
@include media(medium large) {
body {
color: green;
}
}
@include media(extra-large) {
body {
color: blue;
}
}
@include media(small large extra-large) {
body {
color: orange;
}
}
@include media(retina small medium) {
body {
color: purple;
}
}
@include media(retina) {
body {
color: pink;
}
}
@include media(small up) {
body {
color: white;
}
}
@include media(medium up) {
body {
color: transparent;
}
}
@include media(large, portrait) {
body {
color: red;
}
}
@include media(medium large, landscape) {
body {
color: teal;
}
}
@include media (extra-large down) {
body {
color: cyan;
}
}
@include media (large down) {
body {
color: lime;
}
}
@include media(medium large up) {
body {
color: fuchsia;
}
}