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

Stats preview card component - mobile first

Max Lockwood•60
@Max88-git
A solution to the Stats preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I just completed my first project here and it is ready for review. I would greatly appreciate any feedback on the image header overlay. I have never done an overlay before and to me it looks like the color of the overlay isn't quite the same as the design preview. I'm wondering if there is another technique for doing overlays, as I just used HSLA colors to adjust the opacity. I would also like to know how I could center the .container on the page when it reaches a screen size of 768px.

If you can also tell me if there are things I need to improve in my code I would really appreciate 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 Max Lockwood'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