justify-content
In the CSS grid, justify-content aligns the grid items inside the grid container along the row axis.
It works if the total size of the grid items is less than the size of the grid container.
Syntax
.container {justify-content: start | end | center | stretch | space-around | space-between | space-evenly;}
Example
Post a Comment