Clamp is a java script function that can be used to do fluid typography. Clamp does not solve the problem of container queries, as some people think it would. It's one of those functions that i just define in all my utilities. Just look at the show. Nonsese javoscript. And that is the function. If you ever want a clamp function, you don't need a library. You don't need just and paste this function in your code. This will work. W we use the same function all the time. What's that, nigge?

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode