Use a span
inside the link and apply text-decoration: underline
on the inner element
a {
text-decoration: none;
}
a span {
text-decoration: underline;
padding-left: .5em;
}
a::before {
content: "f058";
font-family: FontAwesome;
}
<a href="#"><span>Lorem ipsum</span></a>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…