0
Do I need to explicitly set the dimensions (width and height) of the container in css grid?
I have got a container that needs to be layout using grid properties. The question there is, how can I set up the Dimension of the grid items? Do I need to use the grid-template-columns and grid-template-rows to set up the dimension of the container or I can do it by assigning a did I mention the width and the height
1 Resposta
0
You can either set the dimensions of the grid items by using grid-template-columns and grid-template-rows on the container or by using the width and height properties on the grid items.