How does this work? Permalink ¶ This calculator uses rem units which require knowing the font size at the document’s root. In most cases, that refers to the html element and this calculator is currently operating with a root font size of 16px. 1. We need to figure out the rate of change: how much the size needs to change across a distance across the viewport. In other words, for every pixel of cha
![clamp() Calculator](https://cdn-ak-scissors.b.st-hatena.com/image/square/cbe28b474972dd820fb7923bca0e3966c4e26f8c/height=288;version=1;width=512/https%3A%2F%2Fchrisburnell.com%2Fog-images%2Fclamp-calculator.png)