Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four card feature section

@bramizdev

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Columns

The columns were a little bit tricky for me, I used grid I guess grid is the best way to do this but I'm not quite sure if I chose the correct approach for this. I added some grid-row-start and grid-row to the first and last card. I think that's not the correct way to do it since in the future you would like to add more cards it is going to be necessary to change that.

CSS

.cards-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     place-items: center;
}

.supervisor {
    grid-row-start: span 2;
  }

.calculator {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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