79193916

Date: 2024-11-15 20:51:20
Score: 1
Natty:
Report link

Another alternative to clamp:

font-size: max(min(calc(100vw / 60), 28px), 10px);

This sets the font size to depend on the view width, with min and max limits.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rooster242