Design comparison
SolutionDesign
Solution retrospective
Any tips to 'better' my CSS!
Community feedback
- @mattstuddertPosted about 5 years ago
Great work Zeek and congrats on submitting your first solution! I've got a couple of small recommendations:
- I'd avoid using IDs for styling. They can't be reused on the same page and are too specific. Instead, I'd stick to class, attribute, pseudo, and type selectors.
- Rather than having the
min-height
media query, I'd instead just addmin-height: 100vh;
to thebody
for this design, which would mean it would automatically grow for the mobile layout and stay 100% the viewport height for the grid layout.
I hope that helps! Keep up the great work!
0
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