responsive four card section using, sass-grid

Solution retrospective
I had a little difficulty moving the icon to the right of the card, still getting used to how to space the elements. Any criticism feedback is appreciated.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @migsilva89
Amazing work, congrats.
I would add max-width from 1600px, cause if you go bigger the side cards are getting separated from the middle ones.
For the rest looks perfect, well done!
Regards, Miguel Silva
Marked as helpful - @jgengo-alt
Hello there 👋
First of all, good job 🚀💣
📋 To position your images to the card, the simplest way to me would have been to actually add a
position: relative
to yourcontainer-cards__card
div, and then add aposition: absolute; bottom; 2em; right: 2em
to yourimg
. In a nutshell, by doing that you are positioning your card with absolute value inside the relative space of your card.📋 Everything looks extremely huge from my screen, as another peer mentioned a max-width would have been a good addition. 🔥
📋 Another point you could have re-use your grid with the mobile view, just by changing the
grid-template-columns: 1fr
.📋 Also, with your grid I see you using some
margin
I would suggest using thegap
orgrid-gap
:)Once again! Good job 💪
Keep going 🌱
Marked as helpful
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