Created
November 16, 2016 16:27
-
-
Save bekapod/232ea7f1b429a5d22520025c292de173 to your computer and use it in GitHub Desktop.
CSS: Flex Grid
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
.flex-grid { | |
clear: both; | |
display: flex; | |
flex-wrap: wrap; | |
&-item { | |
display: flex; | |
} | |
.panel { | |
display: flex; | |
flex-direction: column; | |
width: 100%; | |
&-body { | |
flex: 1 0 auto; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment