forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_media-queries.scss
More file actions
64 lines (55 loc) · 954 Bytes
/
_media-queries.scss
File metadata and controls
64 lines (55 loc) · 954 Bytes
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
$screen-xs: 700px;
$screen-sm: 775px;
$screen-md: 900px;
$screen-lg: 1200px;
$screen-xl: 1800px;
@mixin for-phone-only {
@media (max-width: $screen-xs) {
@content;
}
}
@mixin for-tablet-portrait-up {
@media (min-width: $screen-xs) {
@content;
}
}
@mixin for-tablet {
@media (min-width: $screen-xs) and (max-width: $screen-md) {
@content;
}
}
@mixin for-tablet-up {
@media (min-width: $screen-sm) {
@content;
}
}
@mixin for-tablet-landscape-up {
@media (min-width: $screen-md) {
@content;
}
}
@mixin for-desktop-up {
@media (min-width: $screen-lg) {
@content;
}
}
@mixin for-big-desktop-up {
@media (min-width: $screen-xl) {
@content;
}
}
@mixin for-desktop-down {
@media (max-width: $screen-lg) {
@content;
}
}
@mixin for-tablet-landscape-down {
@media (max-width: $screen-md) {
@content;
}
}
@mixin for-tablet-down {
@media (max-width: $screen-sm) {
@content;
}
}