One of my divs has a button inside that, when clicked, creates an outline around it. Here is what it looks like:
https://i.sstatic.net/pEr53.png
**Code: **
.slide-arrow {
color: #fff;
background-color: #9E9997;
border: none;
padding: 16px 10px 17px 10px;
font-size: 25px;
opacity: 0.5;
outline: 0;
}
.slide-arrow-right {
position: absolute;
top: 50%;
right: 0%;
transform: translate(0%, -50%);
-ms-transform: translate(0%, -50%);
margin-right: -1px;
border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
}
.slide-arrow-left {
position: absolute;
top: 50%;
left: 0%;
transform: translate(0%, -50%);
-ms-transform: translate(-0%, -50%);
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
.slide-arrow:hover {
opacity: 0.7;
}
.slide-arrow:active {
background-color: #D47C7C;
}
.slide-arrow i {
font-size: 32px;
outline: 0 !important;
}
.slide-arrow i:focus {
outline: 0 !important;
}
<button class="slide-arrow slide-arrow-right" onclick="plusDivs(1)"><i class="fa fa-angle-double-right"></i></button>
I am looking to remove this feature. Even after using outline: 0 !important;
on various elements, the issue persists specifically in Firefox.