@David404-dev
Posted
You can use the border-bottom property in css for those links and when you hover over those links you can also change the color.
For example:
.learn-more-link { border-bottom: 5px solid pink; }
.learn-more-link:hover { border-bottom: 5px solid orange; }
If you don't want the colors to change instantly, check out the transition property.
Marked as helpful
@Juan2579
Posted
@David404-dev Thanks!
@alosoft
Posted
@David404-dev the transition is a nice touch. Using the border-bottom property will give the line the same width as the element (text) which is not the case in the design plus the line is even under the text and not below.
@David404-dev Nice Work!