Responsive Landing page using CSS and HTML w/ alternating blocks
Design comparison
Solution retrospective
I feel frustrated that my CSS is too long here. I failed to do the footer in mobile version but it looks decent. I had fun doing this challenge. Open for critique! :)
Community feedback
- @mattstuddertPosted over 4 years ago
Great work on this challenge! Have you ever tried using
min-width
media queries instead ofmax-width
? It often actually leads to less CSS code as you're only writing the more complex code once in the media queries for larger screen sizes. Whereas withmax-width
media queries you write the code for desktop outside the media queries and then overwrite a lot of them inside the media queries for mobile. I'd definitely recommend giving it a go, as you may well find you write less CSS.Your overall layout looks great on this project too, well done! As you can see by the design comparison, there are just a few small differences in
font-size
and some spacings.Let me know if you have any questions. Keep up the great work! 🙂
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