Stat preview card using plain CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Beats-Ayush
@Samadeen Great solution. A couple of places where the code might get better
- Add a max-width to your container in mobile design so that it does not take up the entire screen.
- Remove min-width:50% from your image class and instead go for width:50% so that the image class and the content class get even space in the card.
- Finally don't use pixels in height, border-radius. Instead use rems, ems.
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