Grow your CSS skills. Land your dream job.

Highlight all elements within Li tag on hover?

  • # February 12, 2013 at 1:41 pm

    First off here is a fiddle with the HTML & CSS/
    [http://jsfiddle.net/8kXZK/13/](http://jsfiddle.net/8kXZK/13/ “http://jsfiddle.net/8kXZK/13/”)

    What I’m trying to do is simply have all spans within the Li tag highlighted when a viewer hovers over the list.
    Right now the H3 Title changes only when hovering over the text.

    -Keisa

    # February 12, 2013 at 1:50 pm

    li:hover span { … }

    # February 12, 2013 at 2:47 pm

    @HugoGiraudel WOW! Wish I could have thought of that! lol SO SIMPLE! Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".