CSS: How to affect OTHER elements when a div is hovered

Posted by Trufa on Stack Overflow See other posts from Stack Overflow or by Trufa
Published on 2010-12-21T18:29:18Z Indexed on 2012/10/05 9:37 UTC
Read the original article Hit count: 230

Filed under:
|
|

I think this is a very basic question but I not sure how/if it can be done.

What I want to do is to is a certain div is hovered, affect the properties of another div.

For example, in this simple example when you hover over #cube it changes the background-color but what I that when I hover over #container, #cubeis affected.

I don't want to explain further cause I think it might be confusing, but please ask the the question is no clear enough!!

Thanks in advance!!


jQueriers: abstain yourselves!! only CSS answers :)

© Stack Overflow or respective owner

Related posts about html

Related posts about css