website/_assets/stylesheets/bootstrap-custom/utilities/_sizing.scss

21 lines
513 B
SCSS
Raw Normal View History

// stylelint-disable declaration-no-important
// Width and height
@each $prop, $abbrev in (width: w, height: h) {
@each $size, $length in $sizes {
.#{$abbrev}-#{$size} { #{$prop}: $length !important; }
}
}
2021-08-20 16:48:07 +02:00
// .mw-100 { max-width: 100% !important; }
// .mh-100 { max-height: 100% !important; }
// Viewport additional helpers
2021-08-20 16:48:07 +02:00
// .min-vw-100 { min-width: 100vw !important; }
.min-vh-100 { min-height: 100vh !important; }
2021-08-20 16:48:07 +02:00
// .vw-100 { width: 100vw !important; }
// .vh-100 { height: 100vh !important; }