I have the following:
<div>
<ul class="menu-top-header-main-right">
<li><span class="icon-procurar"></span></li>
<li>Entrar</li>
<li>Inscrever-se</li>
</ul>
</div>
and my css:
.top-header-main header div ul li span{
display: inline-block;
padding: 0 .8em;
width: 20px;
height:24px;
vertical-align: middle;
}
.top-header-main header div ul li:not(.icon-procurar):hover{
border-bottom: 3px solid #2BDE73;
cursor: pointer;
}
I want to exclude span
from :hover
but it does not seem to work.
Any help? Thank you.