We are using border-bottom property to add border for the anchor tag and adding font awesome icon along with the anchor tag.
<a href="google.com" class="link">
"Test data"
::after
</a>
CSS :-
a.link {
border-bottom: 1px solid black;
&::after {
font-family: 'Font Awesome 5 Pro';
content: '\f08e';
font-size: 14px;
}
}
It is adding the border under font awesome icon as well. We would like to remove border for font awesome icon in anchor tag.
Is it possible ?