Skip to main content
Question

Fluid font size based on frame width?


Glenn Weatherson

I am using the Utopia plugin to generate steps and spacing for a design. What I’m now looking for is starting small and using a variable or token for say, an h1, but I would like that h1 to be reflective of the clamp font size relative to the frame width. So for a mobile design the font size should be closer to the minimum font size, while a desktop design would be closer to the max, or all the way. Hope that makes sense! Thanks.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings