summaryrefslogtreecommitdiff
path: root/src/sass/bootstrap4/utilities/_sizing.scss
diff options
context:
space:
mode:
authorMax2018-10-15 23:46:42 +0200
committerMax2018-10-15 23:46:42 +0200
commit00c9709fd9763542e848f6278db8ba26af5c9886 (patch)
tree92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /src/sass/bootstrap4/utilities/_sizing.scss
downloadfuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz
Initial commit.
Diffstat (limited to 'src/sass/bootstrap4/utilities/_sizing.scss')
-rw-r--r--src/sass/bootstrap4/utilities/_sizing.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sass/bootstrap4/utilities/_sizing.scss b/src/sass/bootstrap4/utilities/_sizing.scss
new file mode 100644
index 0000000..e95a4db
--- /dev/null
+++ b/src/sass/bootstrap4/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; }