Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
The gradient on top of the card. At first I used border-top
to style it. But gradient color does not work on borders. So I had to create a pseudo-element using ::before
to do it.
I use BEM for class naming and I wonder if I used it correctly. I welcome any feedback about how I use it.
Community feedback
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