#179: A Grid of Squares

Published: April 6, 2020, 9:22 p.m.

Using CSS grid to make a grid, is, well, the whole point. But what if you want all those grid items to maintain an aspect ratio, like a 1:1 square? It’s possible, but it involves a little trickery. In this …