Full Stack Radio cover image

150: Secret Screencasting Tips & Behind the Scenes of Tailwind CSS 2.0

Full Stack Radio

00:00

The Problem With Aspect Ratio Utility in CSS

I was considering adding aspect ratio utilities today to try and avoid another problem related. Like I wanted to add all those like fractional values to the padding scale, because you know, for astrogracious stuff,. You're always doing like padding bottom, 56.25% or whatever to get your like nine 16 by nine, like video block. But it felt dumb to have like padding bottom nine over 16 and padding right nine over 16  and padding left nine over six. And then also, you have to consider that CSS is going to change and grow. So I'm getting a bigger. It's not just like background color. It's like, you know, on like,

Play episode from 53:58
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app