1
0
Fork 0
hswro_org/_sass/bootstrap/utilities/_display.scss

27 lines
519 B
SCSS
Raw Normal View History

2018-12-09 07:21:01 +00:00
// 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);
2020-08-23 10:01:06 +00:00
@each $value in $displays {
.d#{$infix}-#{$value} { display: $value !important; }
}
2018-12-09 07:21:01 +00:00
}
}
//
// Utilities for toggling `display` in print
//
@media print {
2020-08-23 10:01:06 +00:00
@each $value in $displays {
.d-print-#{$value} { display: $value !important; }
}
2018-12-09 07:21:01 +00:00
}