We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a0093 commit a47f373Copy full SHA for a47f373
scss/mixins/_breakpoints.scss
@@ -93,7 +93,13 @@
93
$min: breakpoint-min($name, $breakpoints);
94
$max: breakpoint-max($name, $breakpoints);
95
96
- @media (min-width: $min) and (max-width: $max) {
97
- @content;
+ @if $min != null and $max != null {
+ @media (min-width: $min) and (max-width: $max) {
98
+ @content;
99
+ }
100
+ } @else if $max == null {
101
+ @include media-breakpoint-up($name)
102
+ } @else if $min == null {
103
+ @include media-breakpoint-down($name)
104
}
105
0 commit comments