The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

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/
    []( “”)

    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.


    # 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed