Design comparison
Solution retrospective
In media queries (min-width)when I use witdth property for main it's not working instead of max-width how this happen?
Community feedback
- @correlucasPosted over 2 years ago
Hello Troy 🤗 congratulations for this solution!
In this challenge you don't need to set
min-height
because all the content needs to grow the maximum inside the container, the button, the pricing section and etc. In this challenge you'll usemax-width: 340px
for the container andmax-width:100%
for other sections, this means that the header, button and pricing section will grow 100% and will contract, this 100% size is considered less the container padding itself.Hope it helps and feel free to do more questions
Marked as helpful1
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