Four Cards with HTML and SCSS

Solution retrospective
This one was pretty straight forward, only the top borders of the cards needed a little research to get them straight.
The scss loop for the four border colors was fun! :)
What specific areas of your project would you like help with?Every feedback is appreciated, maybe there are more flexible ways to setup the grid?
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@Ronnarit00000
Good work! I like your feature-card. I have easy way setup grid by create map for feature-card use grid-template-areas
@media screen and (min-width: 55rem) { .features { &__cards { /*create map*/ grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "card-cyan card-red card-blue" "card-cyan card-orange card-blue" ; } &__card { max-width:350px; /* fixed card max-width*/ min-height:250px; /* fixed card min-height */ } &__card-cyan { grid-area:card-cyan; align-self: center; /* set card center*/ } &__card-red { grid-area:card-red; } &__card-orange { grid-area:card-orange; } &__card-blue { grid-area:card-blue; align-self: center; /* set card center*/ } } }
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