Stats preview card component using HTML5, CSS and flexboxes

Solution retrospective
Hi, Here is the first version of this challenge. I think the css can be optimized but I don't really know how. Best regards,
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Ikacper
Im not sure why you put overflow: auto?
i think you shouldn't make this div, for img, just try to use background img on #content
you probably should use classes instead of id's for styling
instead of putting in every single id box-sizing: border-box you can use universal selector like that *{ box-sizing: border-box} it means every element will get those property
for fonts, paddings etc. its good practice to use rem instead px.
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