When using CSS Grid, what is the purpose of the grid-template-columns property?
- defines the size of the grid container
- establishes the layout of the grid rows
- sets the size of the grid columns
- specifies the number of rows in the grid
The grid-template-columns property in CSS Grid defines the size of the columns in the grid layout, allowing for precise control over the layout of the grid's columns.
Loading...
Related Quiz
- How would you select list items that are the only child within their containing unordered list?
- What is the role of the calc() function in CSS?
- You're optimizing a website for better scroll performance. Which CSS property would you use to hint to the browser about an element that will change frequently?
- What is the purpose of grouping multiple CSS selectors that share the same declarations?
- A developer wants a sidebar to be fixed on the desktop but static on mobile devices. Which CSS properties and values will they need to adjust using media queries?