3 ms·
The class names don't matter. Each grid-template-areas value has to match the grid-area value (the actual grid item being placed).
by antibland 9y ago
The class names don't matter. Each grid-template-areas value has to match the grid-area value (the actual grid item being placed).
- rhizome 9y agoRight, but do you see how you've used the same terms for both?
- antibland 9y agoI see. I only added the class names to provide a container for each child to point to where it should be placed. The fact that I named the class and the grid area indentically could seem a bit confusing. Something like "marsha-container" might have been clearer.