/mizuxe2017/scss/bootstrap/utilities/_sizing.scss

https://bitbucket.org/Trulsh/personal-bootstrap-projects · Sass · 12 lines · 7 code · 3 blank · 2 comment · 0 complexity · 11d1d5fcb17b6d14ad0acbf5f680a818 MD5 · raw file

  1. // stylelint-disable declaration-no-important
  2. // Width and height
  3. @each $prop, $abbrev in (width: w, height: h) {
  4. @each $size, $length in $sizes {
  5. .#{$abbrev}-#{$size} { #{$prop}: $length !important; }
  6. }
  7. }
  8. .mw-100 { max-width: 100% !important; }
  9. .mh-100 { max-height: 100% !important; }