Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2018-04-01 00:22:01 +0300
committerMark Otto <markd.otto@gmail.com>2018-04-01 08:05:09 +0300
commit74490346ffe4281ffa37e886adbae597104e7e0b (patch)
tree04fa298b6c3e45ea330225791f70a345820a61c7 /scss
parent474698f41b700faf6b268454f58bec369ca976e0 (diff)
Add new .flex-grow and .flex-shrink utils
Diffstat (limited to 'scss')
-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 1f898c1b18..3d4266e0d0 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; }