Which property allows you to control the size of tracks in a grid layout?
- grid-row: auto;
- grid-template-columns;
- grid-template-rows;
- grid-track: size;
The property that allows you to control the size of tracks (rows and columns) in a grid layout is 'grid-template-columns' for columns and 'grid-template-rows' for rows. These properties let you define the size of the grid tracks using various units like pixels, percentages, or 'fr' units.
Loading...
Related Quiz
- The ________ combinator in CSS targets elements that are placed immediately after a specific element.
- How can you underline text using CSS?
- In a large project, you want to have separate SCSS files for variables, mixins, and base styles. How would you structure and integrate them into a main SCSS file?
- How can you set a fallback font in case the primary font fails to load?
- In the BEM approach, if you have a block named "menu" and an element inside it named "item", how would you represent it using a class?