I have a TOPO and I would like the first li
, in the case that contains the logo , do not have the border when I hover the mouse over. In other cases, yes.
I tried the following CSS and I could not.
.topoMenu li a:first-child:hover {
border-color: transparent;
}
.topoMenu li {
font: 20px/20px "DINProLight";
color: #fff;
float: left;
margin-right: 17px;
margin-top: 44px;
}
.topoMenu li > img {
margin-right: 45px;
}
.topoMenu li a {
display: inline-block;
cursor: pointer;
padding-bottom: 11px;
position: relative;
z-index: 2;
border-bottom: 2px solid transparent;
margin-top: 10px;
}
.topoMenu li:first-child {
margin-right: 95px!important;
padding-bottom: 0;
border-bottom: 0 solid transparent;
margin-top: 45px;
}
.topoMenu li a:first-child:hover {
border-color: transparent;
}
.topoMenu li:last-child {
margin-right: 0;
margin-top: 45px!important;
}
.topoMenu li a > span {
display: inline-block;
margin-top: 6px;
}
.topoMenu li a:hover {
border-color:#d3d5db;
}
.topoMenu li:first-child + li + li + li + li + li + li a:hover{
border-color: transparent;
}
.topoMenu li span {
font: 20px/20px "DINProLight";
color: #FFF;
}
<li>
<a href="/home">
<img src="imagens/neomot_logo.png" height="35" width="195" alt="" />
</a>
</li>
<li>
<a href="/empresas">
<span>empresa</span>
</a>
<div class="topoMenuBarra"></div>
</li>
<li>
<a href="/noticias">
<span>noticias</span>
</a>
<div class="topoMenuBarra"></div>
</li>
<li>
<a href="/trabalhe-conosco">
<span>trabalhe conosco</span>
</a>
<div class="topoMenuBarra"></div>
</li>