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

Using Flex and Grid. Grid-Gap is not optimal.

Sven 295

@Sven72

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


I am not satisfied with the broad grid-gap, but I have no idea, how to narrow it.

Community feedback

@Seti108

Posted

Hey, looks nice! Like the touch with the shadow changing on mouse-over!

When I inspect your code it looka like "div class="card--supervisor card"" has a margin. Maybe you could take that away first? Same on the opposite card I guess.

If that don't work you could maybe try to (on the div css):

justify-self: end;

Worth a try maybe. https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self

1

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