Skip to content
Submitted almost 3 years ago

Responsive Results Summary Modal using CSS Flexbox

LVL 1
@sandr15
A solution to the Results summary component challenge

Solution retrospective


I'm not entirely sure that I used media-queries correctly. I used min-width: 375 to trigger CSS rules for the mobile layout, and max-width: 376 for the desktop layout. Do I really need to specify both min-width and max-width? I feel like I should be able to specify just one of the two. Additionally, most of the CSS is outside of the media queries, just the CSS needed to update the layout is in the media query blocks. Is this the proper way to use media queries?

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Andrew Siemon’s solution.

Join 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