How to make the code light where it’s in orange

Asked

Viewed 49 times

1

Fazer acender onde está em laranja

I do not know how and nor how to look to make this scheme to leave orange when I pass the mouse.

  • 2

    Is the effect Hover ? http://jsfiddle.net/filadown/m55xqrkb/

  • Exactly friend, it is with :Hover just do not know how I will have to do to light these trails.

  • 1

    You have the code of these tracks ? post on your question, it helps a lot in the elaboration of an answer!

  • 1

    There are several ways to do this. It can be with SVG, only with well-positioned Divs, with image, among other methods. It just depends on how the trails are structured. Is there something ready to serve as a reference? And the best is that you can do it quietly without Javascript (let alone jQuery, which people abuse).

  • Well friends I still need to do this little trail but I don’t know how if anyone can help me thank you from my heart.

1 answer

1


You can make this effect with the 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>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.