Set a layout with grid-templates-area
Hi everyone
I want realise a simple page but don't understand what is going wrong
my html:
my CSS:
Thanks by advance.
3 Replies
your div has class
context
, your css has class content
I made a quick codepen with this, and tried to use the inspector to look at how the grid layout was getting set up. the wrapper div didn't have display: grid
on it, despite it being set in the CSS, so I checked the classnames
(for future questions, it's probably a good idea to include that codepen yourself, it took 10 seconds to set up, and to describe the issue you're having in a sentence or two)as always, glad to help 🙂