TheoSoti
banner
theoleff.bsky.social
TheoSoti
@theoleff.bsky.social
Freelance front-end developer — I share CSS and JS tips & tricks.
Checkout my blog https://theosoti.com
- Third value (2rem): The maximum size, preventing the text from getting too large

The best part? It is supported by 96.77% of browsers. So it’s pretty safe to use!
December 11, 2024 at 10:09 AM
- clamp() defines a flexible range for the font size

- First value (1rem): The minimum size, ensuring it never gets too small

- Second value (0.5rem + 2vw): The preferred size, which adjusts based on the viewport width (vw)
December 11, 2024 at 10:09 AM
Ok the gif didn't work. This is the gif I wanted to import:
December 2, 2024 at 7:42 AM