In CSS Grid, which property defines the number of columns in the grid layout?

  • column-count
  • columns
  • grid-columns
  • grid-template-columns
The grid-template-columns property is used to define the number of columns in a CSS Grid layout. It specifies the size and track listing of columns in the grid.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *