display: flex
// Main Axis
flex-direction: row (default), row-reverse, column, column-reverse
// Main Axis Alignments / Spacing
justify-content: flex-start (default), flex-end, space-around, space-between
// Cross Axis Alignments / Spacing
align-items: stretch (default), flex-start, flex-end, center, baseline
// Wrap
flex-wrap: nowrap (default), wrap, wrap-reverse
// Flex Flow: flex-direction + flex-wrap
flex-flow: row nowrap (default)
flex-direction: row;
flex-wrap: nowrap;
// Align Content: Defines how spacing is distributed along *Cross Axis*, Needs more than 1 row
align-content: flex-start
Created
May 6, 2017 09:41
-
-
Save dhruvdutt/6bfa39476a0ac95a0ff452a3302e8935 to your computer and use it in GitHub Desktop.
flexbox-cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment