blob: e17544e0cff7845bf7f53283a7f7c54a70b43b28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
@mixin media-breakpoint-down($name, $breakpoints: default) {
@if $breakpoints == default {
$breakpoints: $responsive;
}
@media (max-width: map-get($breakpoints, $name) - 1) {
@content;
}
}
@mixin media-breakpoint-up($name, $breakpoints: default) {
@if $breakpoints == default {
$breakpoints: $responsive;
}
@media (min-width: map-get($breakpoints, $name)) {
@content;
}
}
|