Design comparison
SolutionDesign
Solution retrospective
I am not able to make Learn more button background line to have rounded border.What is the best way to do it.
Community feedback
- @jmnyaregaPosted over 3 years ago
Yep, pseudo-elements will do the trick.
.link { position: relative; &::after { content: ""; position: absolute; background: linear-gradient(to left, black, red); height: 2px; left: 0; right: 0; bottom: 0; } }
Marked as helpful0
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