I've recently started exploring the world of CSS Grid and I'm interested in creating a responsive tile-like layout using it. I found an example that I really like here:
Do you think using CSS Grid is a good approach for achieving this type of layout? Here's the markup I've been playing around with:
.grid {
display: grid;
grid-gap: 10px;
grid-template-rows: 50%;
grid-template-columns: 50% 50%;
a {
border: 1px solid blue;
}
}
<div class="grid">
<a href="" class="grid-lg">
Large item here
</a>
<div class="grid-sm-container">
<a class="grid-sm">
Smaller item here
</a>
<a class="grid-sm">
Smaller item here
</a>
<a class="grid-sm">
Smaller item here
</a>
<a class="grid-sm">
Smaller item here
</a>
</div>
</div>