Is it possible to insert text (for example, an element text) into an SVG element path?
I ask because I would like a text balloon to appear when you hover over a path, something like this:
path#mypath:hover text {
display:block;
}
I would like to avoid using JavaScript, but I understand that this is the only option.
source
share