DEV Community

loading...

Setting the box in container to full width with CSS Grid

selengora profile image Selen Gora ・1 min read

Alt Text

I made fixed width box and full width box in grid container.
It was new about me and wanted to share 😍

Discussion (1)

pic
Editor guide
Collapse
jribeiromarques profile image
João Marques

I was toying around with that idea and ended up with kind of the same result using flex and display: content.
codepen.io/jo-o-marques/pen/xxZXjVg