website/_assets/stylesheets/vendor/bootstrap-custom/utilities/_display.scss

27 lines
534 B
SCSS
Raw Permalink Normal View History

// 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
//
2021-08-20 16:48:07 +02:00
// @media print {
// @each $value in $displays {
// .d-print-#{$value} { display: $value !important; }
// }
// }