Flexbox Cheatsheet Novadesigns
Flexbox Cheatsheet Novadesigns
FLEXBOX IS EASY
Flexbox, short for "Flexible Box," is a layout
model in CSS designed for building dynamic and
responsive user interfaces.
NOVADESIGNS
FLEX-DIRECTION
determining the direction in which its
flex items are placed
COLUMN
ALIGN-ITEMS
define how flex items are aligned along
the Y axis
ROW
ALIGN-ITEMS
define how flex items are aligned along
the cross axis
align-items: strech
JUSTIFY-CONTENT
define how flex items are aligned along
the Y axis
COLUMN
JUSTIFY-CONTENT
define how flex items are aligned along
the X axis
ROW
JUSTIFY-CONTENT
evenly distribute the available space
along the main axis
default
FLEX-SHRINK
define how a flex item should shrink relative
to the other flex items in the flex container
default
FLEX-BASIS
used in flexbox layouts to set the initial size of a flex item along
the main axis before any remaining space is distributed.
flex-basis: 250px
ROW
COLUMN
NEED MORE?
@NOVADESIGNS