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

Stats Preview Card Using Flexbox and SCSS

sass/scss
Fluffyboiiiiii•50
@Fluffyboiiiiii
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello! Please I really need help, I wasn't able to fully complete this challenge due to some bugs and errors in my code, If anyone could answer this questions and help me I'll great appreciate it!

  1. Why when I zoom in does the card div get bigger? I thought the problem was me using the padding. However, I tried using everything, vh, vw, em, rem, percentages and couldn't get it working

  2. How can I make the image and the div stack on top of each other? I tried to do it using positions but it just completely messed up the page.

to anyone reading this have a great day!

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