M
M
Maxim Timofeev2018-01-30 14:43:46
css
Maxim Timofeev, 2018-01-30 14:43:46

How to make edge friendly with svg textLength?

there is text long and short, they must be the same width, due to stretching and svg allows you to easily do this through textLength. It works everywhere except edge, ie did not check, but I think it does not work there either. Here is the sample:
https://jsfiddle.net/hkdth5nx/

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question