Underlines are hard. Complications quickly arise if you want to do anything fancier than the good ol' CSS text-decoration: underline . There are a lot of different techniques. Unfortunately, they nearly always come with significant drawbacks. I ran into some of these drawbacks when I wanted to "borrow" the styling from the links in a Cassie Evans blogpost.