Design comparison
SolutionDesign
Solution retrospective
This is my solution for the challenge "Stats preview card component". Please, any feedback is welcome. Thank you.
Community feedback
- @fernandolapazPosted over 1 year ago
Hi ππ», some of this may interest you for future projects:
- To group a set of related items, like the stats in this case, you could use an unordered list
<ul>
.
- It might be good to get used to designing with the
mobile-first
approach (which means designing for mobile first and then for desktop or any other device) as it is widely considered best practice.
- As an alternative to color the image you could simply use the
mix-blend-mode
property:
.image { background-color: var(--clr-primary-soft-violet); } .image img { mix-blend-mode: multiply; opacity: 0.75; }
I hope itβs useful : )
Regards,
Marked as helpful0@younesadjoudjPosted over 1 year ago@fernandolapaz Thank you very much. I completely forgot the <ul> element. I will try to use the mobile first approach on the next challenge.
1 - To group a set of related items, like the stats in this case, you could use an unordered list
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