@suhridpSubmitted over 1 year ago
how to do this using grid?
how to do this using grid?
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}