Try using clamp for fluid design. When you use clamp, you are able to control flexible sizes for different screens based on vw. Clamp is to make sure the values stay between a range of minimum and maximum, while giving a middle function to calculate the value. How to use clamp? https://developer.mozilla.org/en-US/docs/Web/CSS/clamp
Another thing that might be useful is to add animations, either to import it or create one yourself. I saw another solution that used animations and it looks so good.
Marked as helpful
@david-tejada
Posted
Thanks! I have use clamp in the past and you are right it could have improved the code.
Animations are also nice to have when done properly. I have done some here and there but I guess I wasn't focusing on that for this one.