Question
Which properties are defined on a grid container and which properties are defined on grid items?
Answer
For the properties that you have learned thus far, these properties can be declared on grid items: grid-row-start
, grid-row-end
, grid-row
, grid-column-start
, grid-column-end
, grid-column
, grid-area
.
All the other properties mentioned in this lesson can only be declared on grid containers.