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.
Loading...
Related Quiz
- How does the overflow property affect an element containing floated children?
- How can the @font-face rule be used in CSS?
- What is the primary purpose of using the @media print CSS rule?
- How can you specify that an animation should run in reverse order?
- To control the white space around text within an element, the CSS property ________ is used.