Submitted over 3 years ago
Stats preview card component using HTML5, CSS and flexboxes
@renaudTh
Design comparison
SolutionDesign
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,
Community feedback
- @IkacperPosted over 3 years ago
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.
0
Please log in to post a comment
Log in with GitHubJoin 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