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.
27 lines
519 B
27 lines
519 B
4 years ago
|
// stylelint-disable declaration-no-important
|
||
|
|
||
|
//
|
||
|
// Utilities for common `display` values
|
||
|
//
|
||
|
|
||
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
||
|
@include media-breakpoint-up($breakpoint) {
|
||
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||
|
|
||
|
@each $value in $displays {
|
||
|
.d#{$infix}-#{$value} { display: $value !important; }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
//
|
||
|
// Utilities for toggling `display` in print
|
||
|
//
|
||
|
|
||
|
@media print {
|
||
|
@each $value in $displays {
|
||
|
.d-print-#{$value} { display: $value !important; }
|
||
|
}
|
||
|
}
|