Full Stack Radio cover image

135: Lessons Learned Building Tailwind UI

Full Stack Radio

00:00

How to Override Font Size in CSS

I feel like the next time I start a project, I would do that plug in approach where maybe just setting the font size automatically assign some line height so that you don't start off with a bad assumption. So something I want to bake in the toe and in the future is this would probably have to be like a 2.0 thing. It would affect people's designs. But I want to ship like a default line height for every default font size that's just baked in. Just make sure that the font size utilities are defined before the line height utilities.

Play episode from 47:22
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