A
A
Artemy Averin2012-03-16 21:15:48
css
Artemy Averin, 2012-03-16 21:15:48

CSS - Interaction of classes relative to each other?

There is a square, when you hover over it, you need to paint over everything behind it with a translucent div
. There is a div with the box class. It is necessary to change div overflow at :hover
Once again: When hovering over a block, it is necessary to change the attributes of another class.
I would like to do without jquery, since it causes big lags and glitches. I would like to try on css, css3
Please tell me if it can css?
PS I rummaged through the entire Internet, stumbled upon less - not an option and not the fact that it will solve the problem
Thank you very much in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anatoly, 2012-03-17
@DeDraw

jsfiddle.net/ Nested without problems, when changing the position they can be anywhere in the document, but if they are independent, then this is more difficult =)

S
Shirixae, 2012-03-19
@Shirixae

I was looking for a solution to a similar problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question