Forums

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

Home Forums JavaScript Target previous sibling

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #209649
    modiophile
    Participant

    How do I change the color of .one when I hover over .three ? I can do the opposite but not the other way around. I know there is and will not be a previous css selector, so how do I get this done with js? Thanks!

    http://codepen.io/modiophile/pen/ZbXzGZ

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.