Created
August 26, 2015 15:05
-
-
Save rubensayshi/4f1ca58ea9554beff771 to your computer and use it in GitHub Desktop.
fill-height-or-more.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fill-height-or-more { | |
min-height: 100%; | |
display: flex; | |
flex-direction: column; | |
> div { | |
// these are flex items | |
// flex: 1; same as: | |
// flex-grow: 1; | |
// flex-shrink: 1; | |
// flex-basis: auto; | |
// flex: 1 1 auto; | |
flex: 1; | |
display: flex; | |
flex-direction: column; | |
justify-content: flex-start; | |
> div { | |
// also flex items | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment