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

Four Card Feature Section

P
Jan Kotvaš•460
@DrakeHermit
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?

To be completely honest I am not that proud of finishing this challenge. I feel like there must be an easier way to get this to look the way that the design is set up. But I am happy that I managed to get it to look at least similar to the design.

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

The main challenge was to get the desktop part of the design look the way it should. And to be honest I am not entirely proud of how I went about making it look the way it needed to be. I created a grid of 3 columns and 3 rows wide, and I just placed the cards the way they were supposed to be placed, and I finalized it by adding transform: translateY() to the middle cards to move them to the center. It worked but I feel like there is an easier, or more efficient way.

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

I just want someone to look at my CSS and tell me if my solution to this challenge is decent.

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 Jan Kotvaš'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