Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 4 years ago

4-card section – HTML/CSS using BEM & flexbox, + keyframes

Maria•290
@itsfedoruk
A solution to the Four card feature section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi there 👋 Working my way through "newbie" challenges and trying to practice something new when possible! For this challenge, I've used flexbox; and the different positioning of cards in the desktop version got me thinking for some time. I've almost swapped it to the grid display, but went with transform in the end on selected cards with some flexbox tidying-up. As an extra touch, I've practiced @keyframes: I wanted to have each card appear separately and retain the style from the starting point. I think it works nicely, and I have +1 concept in my bag 🎉

Any feedback – let me know, super happy to hear any pointers on how to improve my code 🙌

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 Maria'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

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