3 column preview card component using Flexbox

Solution retrospective
Tried this one using CSS Grid, but I couldn't do it. The final result was quite good though.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @AbderrahmaneGuerinik
Nice work !
For using grid is pretty easy here is the code :
main { display: grid; grid-template-column: repeat(3, 1fr); }
- btw i recommend using rem unit instead of px
Hope this will help you !😉
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