[CSS Grid]
1. Create Your First CSS Grid Turn any HTML element into a grid container by setting its display property to grid. This gives you the ability to use all the other properties associated with CSS Grid. Note: In CSS Grid, the parent element is referred to as the container and its children are called items. 2. Add Columns with grid-template-columns Simply creating a grid element doesn't get you very far. You need to define the structure of the grid as well. To add some columns to the grid, use the grid-template-columns property on a grid container as demonstrated below: .container { display : grid ; grid-template-columns : 50px 50px ; } add grid-template-columns : 100 px 100px 100px ; 3. Add Rows with grid-template-rows The grid you created in the last challenge will set the number of rows automatically. To adjust the rows manually, use the grid-template-rows property in the same way you used grid-template-columns in the previous challenge. add grid-template-row...