SCSS Framework (Beta)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
353 B

@use 'sass:map';
@mixin breakpoint($media, $min: 0, $max: 0) {
$bpMin: map.get($breakpoints, $min);
$bpMax: map.get($breakpoints, $max);
@if $bpMax != 0 {
@media only #{$media} and (min-width: $bpMin) and (max-width: $bpMax) {
@content;
}
} @else {
@media only #{$media} and (min-width: $bpMin) {
@content;
}
}
}