Should I use rem or px in clamp()?
Use rem for the minimum, maximum and fixed part of the preferred value. Rem values follow the visitor's browser font-size setting, while px values ignore it. The calculator takes px inputs because designs are usually specified in px, then converts them using the root font size you enter.