Design comparison
SolutionDesign
Community feedback
- @VishikaPosted 5 months ago
Very impressive use of clamping!
A couple of tips!
-
for the card image, you can use
margin-left: auto
for it's position -
you can use grid template areas for the placement of the cards
.cards { display: grid; grid-template-areas: ". . t t . ." "l l t t r r" "l l b b r r" ". . b b . ."; } .card--1 { grid-area: l; } .card--2 { grid-area: t; } .card--3 { grid-area: b; } .card--4 { grid-area: r; }
Marked as helpful0 -
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