D
D
daleney2020-07-10 11:02:58
css
daleney, 2020-07-10 11:02:58

Using :before :after for inner tags in svg?

Good day.
There is a svg image, when you hover over certain parts of the svg, the color changes, and a text block should appear, is it possible to make a text block using :before :after, I tried it, for some reason it is not displayed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
igumenov, 2020-07-10
@igumenov

It’s impossible, you need to put blocks with texts separately somewhere under the svg and display them using js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question