Submitted about 3 years ago
Mobile first site using HTML, CSS & JS
@alexiscenriquez
Design comparison
SolutionDesign
Solution retrospective
How can I the change the border-radius for the underline?
Community feedback
- @Javieer57Posted about 3 years ago
Hi Alexis!
You can use css
pseudo-elements
to create a div that works like a underline. Since that is like a box, you can change theborder-radius
and, for the color, just apply abackground-color
on the pseudo-element.Marked as helpful1
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