div ul li a.button:hover {
text-color:#FF0000;
background: #0040FF;
}
I have been attempting to create buttons that change color and text when hovered over. Despite trying different methods, the changes do not seem to be taking effect. Below is the code for the button as well as where it should be implemented:
<div>
<ul>
<li><a href= "index.html"><span>Home</span></a></li>
<li><a href= "about.html"><span>About</span></a></li>
<li><a href="help.html"><span>Help</span></a></li>
<li><a href="links.html"><span>Links</span></a></li>
<li><a href="About Me.html"><span>About Me</span></a></li>
<ul>
</div>
All the buttons are meant to have the same hover effect with a color transition but for some reason this is not working on my live website.