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

Written by
  • 4 года ago



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:

Leave a Comment

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

Menu Title