Design comparison
SolutionDesign
Solution retrospective
how to do this using grid?
Community feedback
- @CBZ86Posted over 1 year ago
HTML:
<div id="container"> <div id="head"> <div id="body"> <div id="footer"> </div>CSS:
#container {display: grid; grid-template-areas: 'head head' 'body footer';}
#head {grid-area: head} #body {grid-area: body} #footer {grid-area: footer}
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord