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

Home Forums CSS On hover change other div style

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #285491

    I have two sections, one has two divs and the second one has three divs.
    When I hover over the ones in the first section and the first and third in the second section – I want to change the second one in the second section.
    What do I need to use to make this happen? Is this even possible?


    I don’t think it’s possible with CSS. With JS quite easily. Only thing you can do with CSS is related to siblings that appear later the document (so a tiny part of what you describe might be achievable, I don’t fully understand actually). A demo would be helpful.


    by using animations in CSS you may do it. check how to move elements for different postions.

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