Design comparison
Solution retrospective
My workflow in writing and understanding code is much better, thanks to all the challenges.
What challenges did you encounter, and how did you overcome them?Responsive design is my biggest challenge but, im understanding each days
What specific areas of your project would you like help with?I have a question:
The propertie max-width
, it did not work completly. Each time i used it, did no work.
Any suggestions?
I had to use the propertie min-width
for it to work
Community feedback
- @kodan96Posted 5 months ago
hi there! 👋
You didn't mention what was the purpose of using
max-width
in the first place. So what was the expected behavior and what happened instead.I usually use
max-width
with the combination of thewidth
property using relative units. It works perfectly fine when I use it.Example:
.element { width: 90%; max-width: 650px; margin: 0 auto; }
Here
.element
will take up 90% of the viewport width, but it will stop at 650px and won't expand anymore.Hope this was helpful 🙏
Good luck and happy coding! 💪
Marked as helpful0
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