KandZ – Tuts

We like to help…!

CSS 28 ๐Ÿ’ป justify-content and align-items properties

a - justify-content property

justify-content specifies the alignment of extra space between the items.
It is used for the main axis
values โ†’ positional alignment(center, start, end, flex-start, flex-end, left and right)
distributed alignment(space-between, space-around, space-evenly and stretch)
overflow alignment(sace center and unsafe center)
justify-content: space-between; โ†’ the spacing between items is the same
justify-content: space-around; โ†’ the spacing between items is the same. The space in the beginning and at the end is the half of the space between
justify-content: space-evenly; โ†’ the spacing between the item and in the beginning and in the end is the same
justify-content: center; โ†’ items are centered and packed to each other


b - align-items property

align-items specifies how items should be aligned along the cross axis
values โ†’ basic keywords(normal, stretch)
positional alignment(center, start, flex-start, flex-end, self-start, self-end and anchor-center)
baseline alignment(baseline, first baseline, last baseline, safe center, unsafe center)
align-items: baseline; โ†’ aligns to containers baseline
align-items: end; โ†’ aligns items to the end of the container
align-items: start; โ†’ aligns items to the start of the container
align-items: stretch; โ†’ items enlarged to fill the container

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!

Leave a Reply