Submitted over 2 years ago
Nextjs solution using flex boxes and redux toolkit, basic css
@Stygmates
Design comparison
SolutionDesign
Solution retrospective
I didn't want to make the css on the navbar too messy so I just centered the elements using flex box, is there an elegant solution for this? Also, for the responsiveness of the app, I just used the figma sketches to define the looks and size of the figma components, what's the best practice on this element? Thanks for your feedbacks :)
Community feedback
- @Ging3rmintPosted over 2 years ago
You are on the right track to use flexbox but instead of justify-content, you can use margin-top: Xpx for your nav and margin-top: auto for the profile image.
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