Justify Self
The CSS justify-self
property is used to set how an individual grid item positions itself along the row or inline axis. By default grid items inherit the value of the justify-items
property on the container. So if the justify-self
value is set, it would over-ride the inherited justify-items
value.
The value start
positions grid items on the left side of the grid area.
The value end
positions the grid items on the right side of the grid area.
The value center
positions grid items on the center of the grid area.
The value stretch
positions grid items to fill the grid area (default).
Join the conversation