Mouseover to highlight link? (2 posts)

  1. MarshallPoe
    Posted 8 years ago #

    I'm pretty new to this css thing, and I've been tinkering with WordPress Classic. I wanted to know if there was an easy way to make a link (or rather, a linked word) highlight on mouseover. Is there something that can be used with "a:hover" like "highlight: #[color code]?" In other words, I don't want underlines, or text colors to indicated the presence of a link. Rather, I want the linked word to be highlighted on mouseover/hover. Does that make sense?

  2. phillyroll
    Posted 8 years ago #

    Do something like this:

    a { color: #000; }
    a:hover { text-decoration: none; background: #ff0000; }

Topic Closed

This topic has been closed to new replies.

About this Topic