June 8, 2017 03:47 pm GMT
Original Link: https://css-tricks.com/aspect-ratio-boxes/
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
Original Link: https://css-tricks.com/aspect-ratio-boxes/
Share this article:
Tweet
View Full Article