Design comparison
Solution retrospective
I had a lot of problem with the font-size and the position of the image along the different types of device. I need some ideas please.
Community feedback
- @pikapikamartPosted over 3 years ago
If you want the images to not jump around when it is positioned absolute. Make sure that the container that you want that element to go with, is at
position: relative
so that the element, will be relative according to its parent or grandparent something like that^0 - @pikapikamartPosted over 3 years ago
Hey, the problem is that you elements is almost viewport dependent right. Well when we set up fonts right, either we give them fixed sized or be scalable, instead of using vw and vh, we used rem or we use a clamp function.
clamp(min, preferred, max)
is has 3 arguments, the first is the min-size, the middle is the preffered size, and the max is well, max size0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord