Design comparison
SolutionDesign
Community feedback
- @peta-8-bitPosted almost 2 years ago
@AnthonyLeDu Congratulations on completing the challenge 🎉
I was also doing the same challenge today and I have only one suggestion. We can use
width
andmax-width
on the same element style them for different viewports without using media queries. For example in this challenge I usedwidth:80%
andmax-width:450px
so that on wider screens, the card looks just a little bit bigger since users are sitting further away from the screen, than on a mobile device.Happy coding╰(°▽°)╯
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