flex-directionflex-directionflex-direction:
row
row-reverse
column
column-reverse
justify-contentgapjustify-contentjustify-content:
flex-start
flex-end
center
space-between
space-around
space-evenly
align-itemsalign-selfalign-itemsalign-items:
stretch
center
flex-start
flex-end
baseline
flex-wrapflex-wrap:
nowrap (automatic width)
nowrap (fixed width)
wrap (automatic width)
wrap (fixed width)
wrap-reverse (automatic width)
wrap-reverse (fixed width)
align-contentalign-content:
stretch
center
flex-start
flex-end
space-between
space-around
space-evenly
flex-direction: row
column-gap: 0.5rem
row-gap: 0.5rem
gap: 0.5rem
flex-direction: column
column-gap: 0.5rem
row-gap: 0.5rem
gap: 0.5rem
min-content vs. max-contentmin-content
max-content
min-content
max-content
grid-auto-flowgrid-auto-flow:
row
column
justify-itemsjustify-items:
start
end
center
stretch
align-itemsalign-items:
start
end
center
stretch
baseline
justify-contentjustify-content:
start
end
center
space-around
space-between
space-evenly
align-contentalign-content:
start
end
center
space-around
space-between
space-evenly
column-gap, row-gap, gap:
column-gap: 0.5rem
row-gap: 0.5rem
gap: 0.5rem
width: 20remwidth: 10remThis is the content.
It contains multiple paragraphs.
They wrap automatically.
This is the content.
It contains multiple paragraphs.
They wrap automatically.
This is the content.
It contains multiple paragraphs.
They wrap automatically.