https://i.sstatic.net/XSUj0.png
Is there a way to remove the bottom border on hover that is not affected by CSS?
.bb-custom-wrapper>nav a {
display: inline-block;
width: 40px;
height: 40px;
text-align: center;
border-radius: 2px;
background: #524b96;
/* #524b96 #1baede*/
color: orange;
font-size: 0;
margin: 2px;
}
.bb-custom-wrapper>nav a:hover {
opacity: 0.6;
}
.bb-custom-icon:before {
font-family: 'arrows';
/* speak: none; */
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
font-size: 30px;
line-height: 40px;
display: block;
/* -webkit-font-smoothing: antialiased; */
}
.bb-custom-icon-first:before,
.bb-custom-icon-last:before {
content: "\e002";
}
.bb-custom-icon-arrow-left:before,
.bb-custom-icon-arrow-right:before {
content: "\e003";
}
.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first:before {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
<nav>
<a id="bb-nav-first" href="#" class="bb-custom-icon bb-custom-icon-first">First page</a>
<a id="bb-nav-prev" href="#" class="bb-custom-icon bb-custom-icon-arrow-left">Previous</a>
<a id="bb-nav-next" href="#" class="bb-custom-icon bb-custom-icon-arrow-right">Next</a>
<a id="bb-nav-last" href="#" class="bb-custom-icon bb-custom-icon-last">Last page</a>
</nav>
I have not added any bottom border, but when I hover over the button, it shows up in the output image. Can you help me understand why this is happening?