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 using CSS Flexbox

alexmai2k 50

@alexmai2k

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


Is there another way to code the middle section, without additional wrapper div? Thanks.

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Nice work on this challenge! Because you're using Flexbox, you need that additional wrapper div, so your HTML looks absolutely fine. Another way to achieve the layout without that wrapper div would have been to use CSS Grid. If you haven't learned it yet, here is a great CSS Grid course by Wes Bos. I hope that helps!

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