2017-10-03 05:34:56 +02:00
|
|
|
// stylelint-disable declaration-no-important
|
|
|
|
|
2017-01-02 20:45:30 +01:00
|
|
|
// Width and height
|
|
|
|
|
|
|
|
@each $prop, $abbrev in (width: w, height: h) {
|
|
|
|
@each $size, $length in $sizes {
|
|
|
|
.#{$abbrev}-#{$size} { #{$prop}: $length !important; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-100 { max-width: 100% !important; }
|
|
|
|
.mh-100 { max-height: 100% !important; }
|
2018-02-04 20:55:22 +01:00
|
|
|
|
|
|
|
// Viewport additional helpers
|
|
|
|
|
|
|
|
.min-vw-100 { min-width: 100vw !important; }
|
|
|
|
.min-vh-100 { min-height: 100vh !important; }
|
|
|
|
|
|
|
|
.vw-100 { width: 100vw !important; }
|
|
|
|
.vh-100 { height: 100vh !important; }
|