Four Card Section

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@mohamed-fathy3010
Good Job finishing the challenge. you done the hardest part which was the card alignment but it misses some padding and font-size change.
one thing i noticed though is that you don't need to fix the card alignments with margin like this line
.card:nth-child(1) margin-top: -1.5rem
you can do that by having a flex row with three items which are
card - group(div or something) containing two cards - card
after that give the flex container
align-items:center
and the flex itemsflex: 1 0 33.33%
and if you even want a better flow for all break points try using grid.Congrats and happy coding.
Join 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