Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
๐พHello Gvantsa, congratulations for your solution!
Look your design is just perfect, for mobile and desktop.
But the desktop version doesn't work good when the screen scales down, so maybe is better you set your media query a little bit earlier.
@media (max-width: 800px) { body { background-image: url(./images/bg-mobile.svg); background-size: contain; background-position: top; } main { padding: 0 30px; justify-content: space-around; } .content { flex-direction: column; width: 95%; }
Try to apply the media query for 800px and see the difference.
0@iragvantsaPosted over 2 years ago@correlucas Yes, I thought about it but as the challenge only required 375 and 1440, I only did it for those two. I will change it and next time will add media queries for other screen sizes too.
1
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