Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS controlling multiple elements with :hover

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #198518
    amyK
    Participant

    I have an experiment I did years ago with very inelegant javascript. I’m wondering if the same effect can be achieved now with CSS3. Here’s the original:

    http://amykalisher.com/fc/assign3-2.html

    And here’s how far I’ve gotten with this idea and css:
    http://jsfiddle.net/9zkebvub/

    #198527
    Paulie_D
    Member

    Is this reacting to the mouse position?

    If so, CSS isn’t going to get it done.

    #198531
    amyK
    Participant

    It is reacting to the element the mouse hovers over, not an x,y coordinate. I’m not sure if that makes a difference

    #198532
    Paulie_D
    Member

    I doubt if there is a CSS selector that would be able to achieve this because at some point you’re trying to affect elements higher in the DOM when hovering a specific element.

    #198534
    amyK
    Participant

    Thank you. I will now move my question into the javascript/jquery world. I imagine there’s a simpler way to do this than my old version.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.