What is the role of the grid-gap property in a grid layout?
- It defines the number of columns in the grid.
- It determines the background color of the grid.
- It sets the width of the entire grid.
- It specifies the gap between grid items.
The grid-gap property is used to specify the gap or spacing between grid items (rows and columns) in a grid layout. It helps in controlling the spacing and alignment of items within the grid.
Loading...
Related Quiz
- When using the "font-display" property, the value ________ ensures the text remains invisible until the font is loaded.
- The BEM methodology suggests a naming convention where the block is separated from the element by a ________.
- To make an animation pause and resume on hover, one could combine the animation-play-state property with the :hover ______.
- In a CSS keyframe animation, what does the 0% or from keyframe represent?
- What is the total width of an element (including padding and border) when the 'box-sizing' property is set to 'content-box'?