Design comparison
SolutionDesign
Solution retrospective
Well, it is far from perfect and I struggled with centering the text on the bottom, but I think it is fine cuz I haven't been using CSS in like 4 months. please, leave some feedback.
Community feedback
- @A-amonPosted over 3 years ago
Hey, I think it would be better if you use flexbox on .center-card then, instead of setting horizontal margin (margin-left/right) manually for each element (h1, .main-text, .bottom-text), you can use padding left/right on .center-card's first column containing those 3 items. To make space in between the statistics in .bottom-text flexbox, use justify-content:space-between.
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