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

Mobile first - flex - first attempt ever at a design.

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

Solution retrospective


Did mobile without any issues, but really struggled to go from mobile over to Desktop, took me many many hours the image just wouldn't fit, and it messes up badly in the 1000px-1400px range, where have I messed up? I guess it fits the design for the actual 1440px and 375px spec but I plan to make all my designs full responsive on most devices. Am I doing something fundamentally wrong with how I'm doing my mobile so making it too hard moving over to Desktop? I didn't know where the hell I was with all the margins and paddings used haha.

Oh and that color on the image, the best I could get was with mix blend mode multiple with opacity's on the background and the ::before. Is there an easier way to match the design?

Any tips or advice would be mostly appreciated I'm mostly worried about bad practise and planning for mobile to desktop. Thank you.

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