Mobile-first Solution for NFT preview card using flexbox
Design comparison
Solution retrospective
This is my first project submitted on Frontend Mentor. Any feedback on how to layout my components on the screen in smarter and more efficient way are well appreciated!
Community feedback
- @m-Ash1Posted almost 3 years ago
hey Mariam, Amazing job dealing with the component. I had some comments on your code
- Use
height: 100vh; overflow: hidden;
to make your workflow all the screen not just upper side from it -on one-screen pages only- - Use
display: flex; justify-content: center; align-items: center;
to centralize the card instead of using margin cuz' you already know flex box
finally I recommend you checking this game Flexbox Zombies it will make it easier for you to deal with flexbox and also it's funny game :)
Marked as helpful1@Mariam-RfPosted almost 3 years ago@m-Ash1 Thank you so much Ash for your feedback and for taking the time to read through my code! I'll make sure to apply it in my future projects. Thanks for the game recommendation I'll surely check it out ^^
1 - Use
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