I am glad I found a solution to scale down all elements without using @media
query.
I should have thought things through better before starting to write HTML.
What challenges did you encounter, and how did you overcome them?Scaling elements, especially fonts, with viewport is fiddly. I had to choose an arbitrary number or find the closest one that fits.
What specific areas of your project would you like help with?I used clamp
with viewport to scale elements between two values. The problem is that this way each element scales at its own rate (even though scaling is smooth individually).
Is there a way to have each element scale in unison using clamp
? Or if there is a better way to do this?
Is there maybe a way to scale elements between two numbers, i.e. interpolating?