The default background color on hover is a light-ish gray. I have the following dropdown in a navbar.
<b-nav-item-dropdown text="TOOLS" right>
<b-dropdown-item href="#" class="dropdown-mine">1</b-dropdown-item>
<b-dropdown-item href="#" class="dropdown-mine">2</b-dropdown-item>
<b-dropdown-item href="#" class="dropdown-mine">3</b-dropdown-item>
<b-dropdown-item href="#" class="dropdown-mine">4</b-dropdown-item>
</b-nav-item-dropdown>
I tried to change the hover background it with the following CSS
.dropdown-item:hover{
background-color:red;
}
Edit: Changing dropdown-item for dropdown-mine worked. However
When I try to change the background on click it doesn't work:
.dropdown-mine:focus{
background-color:green;
}
I tried adding !important to it but no result.
Edit: I also tried .nav-item-dropdown