Aspect Ratio Boxes

I had a little situation the other I needed to make one of those aspect-ratio friendly boxes. This isn’t particularly new stuff. I think the original credit goes as far back as 2009 and Thierry Koblentz’s Intrinsic Ratios and maintained popularity even for other kinds of content with articles like Uncle Dave’s Ol’ Padded Box.
Let’s go on a little journey through this concept, as there is plenty to talk about.

The Core Concept: padding in percentages is…

Aspect Ratio Boxes is a post from CSS-Tricks

Link: https://css-tricks.com/aspect-ratio-boxes/