Design comparison
Solution retrospective
I had a little trouble getting a div to line up with a parent div, sometimes it missed the plan. I also noticed that when I zoom out, the layout loses some configuration.
Community feedback
- @hyrongennikePosted about 2 years ago
Hi @allesonsales,
Good job on completing the challenge
You can swap out the
min-width
formax-width
so that is does no grow wider than the specified width.Also remove the height on the top section. I think the reason the don't line up or look uneven is because the font sizes are all the different. The h1 needs to be slightly larger than the h2's and the subscription h2 is too small all the paragraphs need to the same size except for the 30 day...that can either be the same size as the h2's or larger than paragraphs text size.
Hope this is helpful.
Marked as helpful0@allesonsalesPosted about 2 years ago@hyrongennike Thank for you help, I before using min-width was only using width, I learned how to use min-width recently, I will try it as max-width, thanks for the advice.
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