Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Stats-preview card component [CSS grid + Flexbox 🤩]

Ljr777•150
@Ljr777
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


hey, happy coders. I just completed this challenge, I have started understanding flex-box better.

what is the correct way to get the image and text content equal width no matter the screen size before mobile?? well, I tried using css grid to host the picture on the right and text content on the left. but as the screen size gets smaller, the image on the right gets smaller when its meant to be exactly the same width as the text content on the left.

(submitted the wrong challenge as this one the last time glad I have finally corrected it)

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