Design comparison
Solution retrospective
Had some trouble with getting the right sizing in the desktop layout. Feel like the size of the cards are a bit too wide relative to the paragraph below the main heading.
As a whole it feels like it's too large, but that maybe due to my laptop having a small screen.
Any advice for sizing the desktop layout is appreciated.
Community feedback
- @samritbasnetPosted 3 months ago
overall it looks good.for me i did this way @media (max-width: 1140px) { .card-container { grid-template-columns: 1fr; }
.card:nth-child(n) { grid-column: 1; grid-row: auto; } }.And for card container property .card-container { display: grid; grid-template-columns: repeat(3, 10fr); gap: 20px; margin-top: 60px; }
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