display
Makes the element a grid container; its direct children become grid items.
Click any example to copy its CSS.
Makes the element a grid container; its direct children become grid items.
Defines the number and size of the columns.
Defines the number and size of the rows.
Names regions of the grid; items are placed with grid-area.
Sets the gutters between rows and columns.
Aligns every item inside its cell along the row (inline) axis.
Aligns every item inside its cell along the column (block) axis.
Shorthand for align-items and justify-items.
Positions the whole grid along the row axis when it is smaller than its container.
Positions the whole grid along the column axis when it is smaller than its container.
Controls how items without an explicit position are placed.
Sizes rows that are created implicitly.
Places an item between column lines, or spans it across columns.
Places an item between row lines, or spans it across rows.
Shorthand for row-start / column-start / row-end / column-end, or a named area.
Aligns a single item inside its cell along the row axis.
Aligns a single item inside its cell along the column axis.
Shorthand for align-self and justify-self.
Changes the order in which an auto-placed item appears.