scrimba
CSS Grid
Add Columns with grid-template-columns
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Add Columns with grid-template-columns
AboutCommentsNotes
Add Columns with grid-template-columns
Expand for more info
index.html
run
preview
console
<style>
.d1{background:LightSkyBlue;}
.d2{background:LightSalmon;}
.d3{background:PaleTurquoise;}
.d4{background:LightPink;}
.d5{background:PaleGreen;}

.container {
font-size: 40px;
width: 100%;
background: LightGray;
display: grid;
/* add your code below this line */


/* add your code above this line */
}
</style>

<div class="container">
<div class="d1">1</div>
<div class="d2">2</div>
<div class="d3">3</div>
<div class="d4">4</div>
<div class="d5">5</div>
</div>
Console
index.html
-0:52