Design comparison
SolutionDesign
Solution retrospective
How would you solve the border-top?
Community feedback
- @wuzer1Posted over 4 years ago
You can give each card an ID and set the desired border-top. Or you can use nth-child for each card to set the border top.
0@kethmarsPosted over 4 years agoThank you for your suggestion.
But setting border-top leaves some curves which are not exactly what design suggests. Atm I used pseudo elements.
What do you think?
0@edburtnieks-privatePosted over 4 years agoHey @kethmars. I used
::before
pseudo element too. I think that's a solid way to go around the curves you mentioned :)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