Introduction to the new CSS aspect-ratio property

There's a new CSS property available that I'm pretty excited about. Traditionally, if you wanted to size an image to be widescreen, you'd have to do some math on your own. Then making it responsive gets tricky as well. Widescreen is 16:9, so if it's 1200px wide, how tall should it be? On mobile, when... Continue Reading →

Powered by WordPress.com.

Up ↑