:hover на другой блок(CSS и jQuery)

Written by
  • 3 года ago

http://stackoverflow.com/questions/6910049/on-a-css-hover-event-can-i-change-another-divs-styling

==========================================================

you can do that, but only if #b is after #a in the HTML.

That’s using the adjacent sibling combinator (+).

===========================================================

If there are other elements between #a and #b

That’s using the general sibling combinator (~).

===========================================================

With jquery you can quickly implement the behavior from your question:

Article Categories:
Uncategorized

Leave a Comment

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Menu Title