WeCodeAcademy

Create a two-column layout with CSS grid

grid-template-columns splits the width. 2fr 1fr makes the first column twice as wide.

Examplehtml
Open in editor »

More CSS recipes