Wartości
Kod HTML
<div class="grid-container"> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> <div class="grid-item"></div> </div>
Kod CSS
.grid-container { background: #fff; border: 1px solid #bbb; height: 160px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
Zobrazowanie

2 / 2 / 4 / 4

1 / 1 / span 2 / span 2

name

Stylowe kategorie