aboutsummaryrefslogtreecommitdiff
path: root/scss/utilities
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-03-31 14:22:01 -0700
committerMark Otto <[email protected]>2018-03-31 22:05:09 -0700
commit74490346ffe4281ffa37e886adbae597104e7e0b (patch)
tree04fa298b6c3e45ea330225791f70a345820a61c7 /scss/utilities
parent474698f41b700faf6b268454f58bec369ca976e0 (diff)
downloadbootstrap-74490346ffe4281ffa37e886adbae597104e7e0b.tar.xz
bootstrap-74490346ffe4281ffa37e886adbae597104e7e0b.zip
Add new .flex-grow and .flex-shrink utils
Diffstat (limited to 'scss/utilities')
-rw-r--r--scss/utilities/_flex.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/utilities/_flex.scss b/scss/utilities/_flex.scss
index 1f898c1b1..3d4266e0d 100644
--- a/scss/utilities/_flex.scss
+++ b/scss/utilities/_flex.scss
@@ -17,6 +17,10 @@
.flex#{$infix}-nowrap { flex-wrap: nowrap !important; }
.flex#{$infix}-wrap-reverse { flex-wrap: wrap-reverse !important; }
.flex#{$infix}-fill { flex: 1 1 auto !important; }
+ .flex#{$infix}-grow-0 { flex-grow: 0 !important; }
+ .flex#{$infix}-grow-1 { flex-grow: 1 !important; }
+ .flex#{$infix}-shrink-0 { flex-shrink: 0 !important; }
+ .flex#{$infix}-shrink-1 { flex-shrink: 1 !important; }
.justify-content#{$infix}-start { justify-content: flex-start !important; }
.justify-content#{$infix}-end { justify-content: flex-end !important; }