Use justify-self to align one grid item along the inline, or row, axis inside its grid area. It overrides the grid container’s shared alignment. section 13.9
Choose the item’s position with the same values available to justify-items:
- start—place the item at the beginning of its grid area. section 13.9
- end—place it at the end; center—place it in the middle; stretch—fill the available grid area. section 13.9
PLAY: Override one item
.special-item { justify-self: center; } section 13.9
Figure 13.4 Trying out the justify-items values
Compare the start, end, center, and stretch arrangements visually, then use the matching value on an individual grid item. section 13.9
