Home › Forums › CSS › [Solved] NAV Menu help with CSS selector on list when hover – SOLVED › Reply To: [Solved] NAV Menu help with CSS selector on list when hover – SOLVED
May 27, 2015 at 6:21 am
#202909
Paulie_D
Member
However you could use the direct descendant
selector to only apply that image to top level links…is that what you meant?
.nav > ul > li:hover> a
{
background-image: url("http://i58.tinypic.com/140djyw.jpg");
background-size: 100% 40px;
background-repeat: no-repeat;
background-position: center center;
}