Linearly Scale font-size with CSS clamp() Based on the Viewport

Published - September 28, 2020

Explore a different way to linearly scale text between a set of minimum and maximum sizes as the viewport’s width increases, with the intent of making its behavior at different screen sizes more predictable — All in a single line of CSS, thanks to clamp().