How to do in the code light where it is in orange

1

I do not know how or how to look to make this scheme leave in orange when I move the mouse.

    
asked by anonymous 30.11.2015 / 18:54

1 answer

1

You can do this with hover .

Example:

li {
  width: 70px;
  list-style-type: none;
  text-align: center;
}
li:hover {
  background-color: orange;
  color: white;
}
<ul>
  <li>Hover</li>
  <li>Focus</li>
  <li>Active</li>
</ul>
    
30.11.2015 / 19:30