Aspect Ratio in CSS: Hacks and a New Property

from blog Matthias Ott, | ↗ original
↗ original
Layout on the Web is all about flexibility. That elements adjust their dimensions to the size of their content, be it texts of varying length or images of different sizes, is a welcome feature, especially in times of Responsive Web Design because this flexibility makes building responsive layouts possible in the first place. Sometimes, though, we...