grid-template-columns

Last Updated: May 1, 2022

grid-template-columns:1fr 1fr;

1
2
3
4
5
6

Define CSS grid with 5 columns and each column has 100px width

grid-template-columns: repeat(5, 100px);

1
2
3
4
5
6
Test