Sorry, we don't support your browser.  Install a modern browser

Fully fluid font-size attributes#96

?

I would like to se possibility to create variables for font size that are fully fluid and not clamped after max screen size.

It can be done by use Min() instead of Clamp().

Example:

clamp(0.13rem, calc(0.06vw + 0.11rem), 0.19rem);
Will be clamped after max screen size

min(0.13rem, calc(0.06vw + 0.11rem));
Will continue to grow after max screen size

9 days ago
?

Made a mistake. Use Max() it should be

9 days ago

Isn’t it a common practice to use clamp()? I thought you would use max() before clamp() was introduced. What advantages would this add?

12 hours ago