Easier Aspect Ratio Elements

Published by Chris Coyier

Nice writeup by Marc Hinse. It's similar to Uncle Dave's Ol' Padded Box, except the percentage padding-bottom is moved to a pseudo element where it doesn't need to be adjusted when the width value changes.

Direct Link →