Design comparison
Solution retrospective
I get confused while calculating margins and padding. How to speed up that process?
Community feedback
- @barbara14Posted about 3 years ago
Hello!! Akku22jan first of all the page is very cute, I think you did a really good job on this :D
Margins indeed can be tricky, but the way to go for me (and way faster) is to avoid having to set them, I usually apply flex-box properties to align or justify everything. A piece of advice from me would be to apply individual flexes to divs, and control everything from there.
Marked as helpful1@Akku22janPosted about 3 years ago@barbara14 Hi Barbara Thank you so much for your feedback. Okay, so you completely avoid margins and paddings? I have used a combination of margins, paddings, flexboxes, and even float. I would try applying just flexbox and properties in my next challenges.
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