Q
Q
Qairat2017-08-29 09:43:20
HTML
Qairat, 2017-08-29 09:43:20

How to change the style of another class on hover(svg)?

Hello!
I can't change the transparency of another class.
Here is my code

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Minakov, 2017-08-29
@Qairat

.tooltip2:hover+.tooltip {
  opacity:1;
 }
. With this option, it is necessary that the element be in the DOM .tooltip2before the element .tooltip:
fiddle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question