Design comparison
Solution retrospective
I learnt how to resize font depending on viewport width without using media queries
What challenges did you encounter, and how did you overcome them?I had some problems with positioning the annotation in the right bottom corner, because of the overflow and horizontal scroll, but found a solution.
What specific areas of your project would you like help with?I couldn't find a proper solution for vertical overflow, but it may be due to the small laptop screen I was checking. So I added a top padding for the main container, and in this case, the card doesn't stick to the top.
Community feedback
- @saksbenPosted 7 months ago
Looks good! For the vertical overflow issue, what I did is set the body height and width to vh and vw, and margins to 0, and then use flexbox to center the main container. If you're talking about the scroll bar on the side, that can be fixed by setting the body's "overflow" css property to "hidden."
Marked as helpful0 - @psdesignroPosted 7 months ago
Hi, Thanks for the feedback. The overflow:hidden also disables scroll on a smaller window too. I think I'll explore more later, for now I'll leave it like this
0
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