Hacker News new | ask | show | jobs
by tiffanyh 700 days ago

  font-size: clamp(3.125rem, 3.464vw + 2.229rem, 5rem);
From their website, this is not easy code to maintain.

It’s not obvious how to increase/decrease the font size at a later date.

2 comments

I prefer this tool: https://utopia.fyi/type/calculator

It generates step size variables and a comment linking back to the web calculator filled with your values.

Virtualization tool may help.

https://modern-fluid-typography.vercel.app/