mirror of
https://github.com/codeninjasuk/showcase.git
synced 2024-11-29 02:45:40 -05:00
13 lines
298 B
SCSS
13 lines
298 B
SCSS
|
// 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; }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.mw-100 { max-width: 100% !important; }
|
||
|
.mh-100 { max-height: 100% !important; }
|