I want one <li> inside of a <ul> that I don't want to be affected by the CSS that affects the rest of the <li> elements in the list.
I am trying to add an id or a class to the line item element, but I can't figure out the correct syntax to do this:
<li id="submit">
<button id="seSubmitButton" class="btn btn-success" data-placeholder="SUBMIT">
SUBMIT
</button>
</li>
The css that affects this is here:
.dropdown-menu>li:hover {
background-color: #f2c2c2;
}
I tried multiple things here:
.dropdown-menu>li>submit :hover {
background-color: #a2a2a2;
}
like .dropdown-menu>li submit or just .li submit
but it's not picking it up. What am I doing wrong with the specific syntax to make this specific <li> picked up by my CSS?