-
Notifications
You must be signed in to change notification settings - Fork 0
/
_pxsmlx.scss
91 lines (76 loc) · 2.93 KB
/
_pxsmlx.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
87
88
89
90
91
$mixin-sm-min-width: 768px;
$mixin-md-min-width: 992px;
$mixin-lg-min-width: 1200px;
$mixin-xl-min-width: 1440px;
@mixin pxsml ($property, $xs, $sm, $md, $lg) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
}
@mixin pxsm ($property, $xs, $sm, $md) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
}
@mixin pxsl ($property, $xs, $sm, $lg) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
}
@mixin pxml ($property, $xs, $md, $lg) {
#{$property}: $xs;
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
}
@mixin psml ($property, $sm, $md, $lg) {
#{$property}: $sm;
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
}
@mixin pxs ($property, $xs, $sm) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
}
@mixin psm ($property, $sm, $md) {
#{$property}: $sm;
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
}
@mixin pml ($property, $md, $lg) {
#{$property}: $md;
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
}
@mixin pxsmlx ($property, $xs, $sm, $md, $lg, $xl) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
@media (min-width: $mixin-xl-min-width) { #{$property}: $xl; }
}
@mixin psmlx ($property, $sm, $md, $lg, $xl) {
#{$property}: $sm;
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
@media (min-width: $mixin-xl-min-width) { #{$property}: $xl; }
}
@mixin pmlx ($property, $md, $lg, $xl) {
#{$property}: $md;
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
@media (min-width: $mixin-xl-min-width) { #{$property}: $xl; }
}
@mixin plx ($property, $lg, $xl) {
#{$property}: $lg;
@media (min-width: $mixin-xl-min-width) { #{$property}: $xl; }
}
@mixin pxslx ($property, $xs, $sm, $md, $lg, $xl) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
@media (min-width: $mixin-lg-min-width) { #{$property}: $lg; }
@media (min-width: $mixin-xl-min-width) { #{$property}: $xl; }
}
@mixin pxsmx ($property, $xs, $sm, $md, $lg, $xl) {
#{$property}: $xs;
@media (min-width: $mixin-sm-min-width) { #{$property}: $sm; }
@media (min-width: $mixin-md-min-width) { #{$property}: $md; }
@media (min-width: $mixin-xl-min-width) { #{$property}: $xl; }
}