
Submitted over 2 years ago
Intro section with dropdown navigation | Made with ReactJS
#react
@AlexMartosP
Design comparison
SolutionDesign
Solution retrospective
I tried a different approach when writing CSS. I used many utility classes and variables in the root. Something new for me.
What I found confusing was using utility classes for 'padding', 'margin' and gaps, so they look good in both mobile and desktop.
Is there a different approach on classes or something else that makes it easier to make mobile-first/responsive websites?
PS. Feedback welcome
Community feedback
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