4
It is possible to use these two pseudo-classes together?
I have a <ul>
and I want the first <li>
when passing the mouse has a different property. I imagine it would be something like:
ul li:hover:firt-child {
}
I’ve tried this way and others but it didn’t work. And I also found nothing on the Internet to help.
I’ve tried that way too. My css is "Nav ul.menu > li:first-Child:Hover {}" If I take the :Hover properties work, but if I put the Hover, stop and work.
– Amanda Vieira
I managed to solve it. I actually needed to get the element inside the first read. I slipped! It was as follows: "Nav ul.menu li:first-Child > a:Hover" Thanks!
– Amanda Vieira