CSS · Properties — CSS Box Alignment

justify-self

The CSS justify-self property. Initial value: auto. Not inherited.

Syntax
justify-self: auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center

Example

Try it

Notes

Media: visual. Applies to: blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems. Computed value: asSpecified.

More in this group

column-gap justify-items place-self row-gap

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course