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

Stats Preview Card | media queries grrr

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

Solution retrospective


There's 32px of margin I see, but when I try resetting the margin inside the media query nothing happens.

The size of the image is at the mercy of it's container and not the other way around. I Wish I knew how to change that.

I tried using CSS grid , but I couldn't find a way to apply it's version of row-reverse, if it even has it.

I couldn't make the font smaller, or less dense. Font-weight to a smaller number didn't work either.

'companiestemplatesqueries' resulted from me accidently deleting the wrappers property and then pushing.

The changing image to purple I have no idea, but nothing a youtube video can't fix.

Moving on.

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