Skip to content
HTML.ONE
Home CSS Properties

CSS Grid-template-columns

Defines the track sizing of grid columns.

Example

grid-template-columns: repeat(3, minmax(0, 1fr));

Further reference

MDN CSS reference