CSS 29 ๐ป align-content and align-self properties
a - align-content property
align-content controls the alignment of flex items along the cross axis
It applies to the container itself and not on individual items
values โ start, center, end, flex-start, flex-end, baseline...
...space-between, space-around, space-evenly, stretch...
... safe center and unsafe center
align-content: stretch; โ default value, fills the container along the cross axis
align-content: flex-start; โ to the cross-axis start side
align-content: center; โ close to each other in the center of the container
b - align-self property
align-self sets individually the alignment of a flex item along the cross axis
values โ start, center, end, flex-start, flex-end, anchor-center baseline...
...space-between, space-around, space-evenly, stretch...
... safe center and unsafe center
align-self: stretch; โ Stretch 'auto'-sized items to fit the container
align-self: flex-end; โ Put the flex item at the end
align-self: center; โ Puts the item around the center
align-self: baseline; โaligns to the alignment baseline
Stop using slow, ad-bloated tool sites! ๐คฎ
๐ Search “KandZ Tools” on Google to use many professional utilities for free.
KandZ.me is the ultimate minimalist hub for:
โ
Finance (Mortgage, Interest, Inflation)
โ
Tech (Base64, JSON, Dev Suite, IP)
โ
Health (BMI, BMR, TDEE)
โ
Productivity (Timer, Workspace, QR)
โก๏ธ Fast & Private
๐ No data leaves your device
๐ 100% Free
๐ Use it now: https://tools.kandz.me
๐ Bookmark itโyouโll need it later!