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
Request path contains unescaped characters
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive four card feature section using CSS grid and flex

P

@Antonvasilache

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


What are you most proud of, and what would you do differently next time?

  • Creating a more complex layout using grid and flex containers, to minimize the use of fixed values.
  • Figuring out and creating the layout relatively quick, vast majority of time was spent on the fine details.

What challenges did you encounter, and how did you overcome them?

  • Creating the shadow just as in the design file, I still think color is not exactly right.
  • Adjusting the spacing at the end, trying to match the design as best as possible.

What specific areas of your project would you like help with?

  • Placing the container on the page, not sure if using vh was the best option.
  • Not confident with how to use the box-shadow properties.

Community feedback

Biskup85 220

@Biskup85

Posted

Hello, you can try introducing to font-size rem, and for padding and margin em. I'm thinking it's a good pattern for responsive sites.

1
P
Smaylen5 430

@Smailen5

Posted

Fantastic, the layout is practically identical. Perhaps you forgot to use the correct background color for the card container.

1

P

@Antonvasilache

Posted

@Smailen5 Thanks, I completely missed it on desktop. The difference is really visible on mobile though.

0

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