-
justify-content
[flex-start, flex-end, center, space-between, space-around]
: aligns the flex elements along the x-axis -
align-items
[flex-start, flex-end, center, baseline, stretch]
: aligns elements flex along the y-axis -
align-self
[flex-start, flex-end, center, baseline, stretch]
: aligns elements flex elements along the y-axis, cancelling thealign-items
value -
align-content
[flex-start, flex-end, center, space-between, space-around, stretch]
: aligns flex container lines when there is more space on the y-axis -
flex-direction
[row(default), row-reverse, column, column-reverse]
: defines x-axis direction -
flex-wrap
[nowrap(default), wrap, wrap-reverse]
: specifies if flex elements are forced to a single line or can be wrapped in multiple lines -
flex-flow
[<flex-direction> <flex-wrap>]
: abbreviation offlex-direction
andflex-wrap
-
order
[<int .,.,-1,0,1,.,.>]
: specifies flex elements order
-
grid-column
[<grid-column-start>/<grid-column-end>]
: abbreviation ofgrid-column-start
andgrid-column-end
-
grid-column-start
[<int>, span]
: defines the initial position of an element with respect to the grid columns -
grid-column-end
[<int>, span]
: defines the final position of an element with respect to the grid columns
-
-
grid-row
[<grid-row-start>/<grid-row-end>]
: abbreviation ofgrid-row-start
andgrid-row-end
-
grid-row-start
[<int>, span]
: defines the initial position of an element with respect to the grid rows -
grid-row-end
[<int>, span]
: defines the final position of an element with respect to the grid rows
-
-
grid-area
[<grid-row-start>/<grid-column-start>/<grid-row-end>/<grid-column-end>]
: abbreviation ofgrid-row
andgrid-column
-
grid-template
[rows / columns]
: abbreviation ofgrid-template-rows
andgrid-template-columns
-
grid-template-columns
[<length>, <percentage>, max-content, min-content, minmax(min, max), px, fr]
: specifies grid columns size -
grid-template-rows
[<length>, <percentage>, max-content, min-content, minmax(min, max), px, fr]
: specifies grid rows size
-
-
order
[<int .,.,-1,0,1,.,.>]
: specifies grid elements order
NOTE: span only works with positive values