Clamp function
What do you think about the clamp function used to declare font-sizes and sizes for a semi-auto responsive design?
I discovered it recently and I'm using it for a project and it seems pretty good, however I don't usually see other devs use it.
2 Replies
I had some trouble with it until I found this calculator: https://royalfig.github.io/fluid-typography-calculator/
royalfig.github.io
🧮 Fluid Typography Calculator
Calculate a fluid typography scale to level up your web dev and web design.
Thank you!