Menu
Hi, I have a navigation menu comprised of list items – I want two of them to stand out when you hover, changing the background colors red.
Here’s what I tried.
HTML
[CODE]<nav>
<ul>
<li class=”special”><a href = “”>Log In</a></li>
<li><a href = “”>Our Projects</a></li>
<li><a href = “”>Contact</a></li>
<li class=”special”><a href = “”>Create a NEW Account</a></li>
</ul>
</nav>
CSS
[CODE]nav ul li.special:hover{
background-color: red;
}
But it doesn’t work, any help would be greatly appreciated!