Follow

Bidding a fond farewell to my favourite weird CSS hack: padding-top to set aspect ratio on images. It's being replaced with the much more intuitive aspect-ratio property 👏 web.dev/aspect-ratio/

· · Web · 1 · 1 · 1

@mikebabb I like that hack too, and very cool new feature. Thanks for sharing

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!