1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-27 23:30:04 +02:00

remove old flex utils, update docs to match

This commit is contained in:
Mark Otto
2016-12-23 13:31:09 -08:00
committed by Mark Otto
parent 378aa6667b
commit 9d13fd3fe3
7 changed files with 21 additions and 42 deletions

View File

@@ -11,27 +11,6 @@
.flex#{$infix}-last { order: 1; }
.flex#{$infix}-unordered { order: 0; }
// Alignment for every item
.flex-items#{$infix}-top { align-items: flex-start; }
.flex-items#{$infix}-middle { align-items: center; }
.flex-items#{$infix}-bottom { align-items: flex-end; }
// Alignment per item
.flex#{$infix}-top { align-self: flex-start; }
.flex#{$infix}-middle { align-self: center; }
.flex#{$infix}-bottom { align-self: flex-end; }
// Horizontal alignment of item
.flex-items#{$infix}-left { justify-content: flex-start; }
.flex-items#{$infix}-center { justify-content: center; }
.flex-items#{$infix}-right { justify-content: flex-end; }
.flex-items#{$infix}-around { justify-content: space-around; }
.flex-items#{$infix}-between { justify-content: space-between; }
//
// New flex utils to replace and extend the ones above
//
.flex#{$infix}-fill { flex: 1 1 auto; }
.flex#{$infix}-justify { flex: 1 1 100%; }