Design comparison
SolutionDesign
Solution retrospective
I'm not yet so good with CSS grids. Feedbacks would be highly appreciated
Community feedback
- @swaraj70Posted over 4 years ago
Grid gap will add some space between the 4 cards.
/* DESKTOP-VIEW */ @media (min-width: 1400px) { .card-container { display: grid; grid-gap: 30px; grid-template-areas: ". a ." "b a c" "b d c" ". d ."; width: 80vw; margin: 0 auto; } }
1 - @swaraj70Posted over 4 years ago
Hey, the code looks great. Some space between the cards would make it look much better. Try adding grid-gap in .card-container in styles.css file. for example:
/* GRID-GAP */ grid-gap: 30px;
1@PalmlightPosted over 4 years ago@swaraj70 i just did that but it's scattering my grid layout.
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