I
I
Ilya Ryabykin2016-07-02 20:12:39
css
Ilya Ryabykin, 2016-07-02 20:12:39

How to position content on top of svg?

Hey! I had a bomb idea, but the development crashed..
How to position any html content on top of svg elements? Be it rect, line, circle..
View:

<svg style="display: block;" xmlns="http://www.w3.org/2000/svg" id="testIt">
<rect></rect>
<line></line>
</svg>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2016-07-02
@geesoff

Like z-index option for svg https://jsfiddle.net/joomla/kuLv6fj6/2/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question