Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Four card feature section

Neil•140
@neildeo
A solution to the Four card feature section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

This project increased my comfort with using flexbox, and more generally using inheritance to lay out and space components. I'm happy with this project although I found some aspects of the sizing quite puzzling (the final version doesn't fit onto a single page in my browser, but based on the font the sizing looks correct...). I also liked the aesthetics of this design, and will definitely take some of those ideas forward into my own projects (especially the coloured band on top of the cards).

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

I started with a multiple nested flexbox solution for the dynamic layout that was way too complicated. In the end, removing some of those divs helped make my layout work as intended! I still ran into this issue even though I used a mobile-first approach. The lesson I've learned is to build complex layouts one step at a time: you might find that the job is done a few steps earlier than you originally thought.

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

I tried hard to get the shadow effect on the cards looking correct, but I still have no idea what was actually used in the design! Any pointers here would be appreciated.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Neil's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License