I am having trouble disabling the outline of a css link element. I successfully disabled the outline of a regular link using a css class, but I am unable to do so with the <router-link>
element. How can I disable the outline for this?
.page-link, .page-link:visited, .page-link:hover, .page-link:active, .page-link:focus {
outline: 0 none !important;
border: 0;
}
<div>
<!-- It worked -->
<a class="page-link">normal link</a>
</div>
<div>
<!-- It did not work -->
<router-link to="" class="page-link">router-link</router-link>
</div>
Browser:
Chrome