Hi @S74,
I have the exact same problem.
Interesting solution with clamp, but as I'm not a developper, I can't fit your solution properly into my problem.
Can you please help me to setup the clamp function properly for my case ?
https://www.anthonymartin.fr/andrei-molodkin-government-down
The H1 title shrinks down when I enlarge the window. What would be the values I would need to parameter the clamp function with ? My H1 title is currently set to 4.7rem.
Then I will replicate the same logic for all titles because H2, H3 and H4 are doing the same thing in all my website.
Thank you very much.
Anthony
Enregistrement de l’écran 2023-07-12 à 11.00.44.mov