(no title)
eajakobsen | 2 years ago
font-size: clamp(1em, 1.3vw, 1.3em);
I would also consider using `rem` instead of `em` incase you want to use it anywhere other than the root element.eajakobsen | 2 years ago
font-size: clamp(1em, 1.3vw, 1.3em);
I would also consider using `rem` instead of `em` incase you want to use it anywhere other than the root element.
itsuka|2 years ago
I learned this from https://adrianroselli.com/2019/12/responsive-type-and-zoom.h...
nhanb|2 years ago
Thanks for the tip on clamp() by the way, TIL.
Poppys|2 years ago
This is a good write up of using clamp and fluid type
hgsgm|2 years ago