diff options
author | Arvind <arvind@zonic.io> | 2018-08-25 20:23:47 +0300 |
---|---|---|
committer | Arvind <arvind@zonic.io> | 2018-08-25 20:23:47 +0300 |
commit | c443c59bb6c297b5d8ec806882832dcfbe8574ca (patch) | |
tree | cb7941e8bcecca552ff5b62cc3b2aebcbdd81a9f /assets/scss/utilities/_sizing.scss |
initial commit
Diffstat (limited to 'assets/scss/utilities/_sizing.scss')
-rwxr-xr-x | assets/scss/utilities/_sizing.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/scss/utilities/_sizing.scss b/assets/scss/utilities/_sizing.scss new file mode 100755 index 0000000..e95a4db --- /dev/null +++ b/assets/scss/utilities/_sizing.scss @@ -0,0 +1,12 @@ +// 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; } |