Submitted about 4 years agoA solution to the Stats preview card component challenge
Mobile First - Stats Preview Card (HTML/CSS3)
@mghadieh

Solution retrospective
It all went well, but at the end I noticed the card wasn't centred in the desktop version, so I had to add margin-top and margin-left with trail and error to make it centred. There is probably a better way to do this but I am unaware of it. Also, my mobile version is too long, you can scroll up and down. Is there away to limit the height without scrolling?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mohamad Ghadieh'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