E
E
Emptyform2015-12-20 04:01:52
css
Emptyform, 2015-12-20 04:01:52

How can I make the SVG from the example render the same in all browsers?

Here is an example with a triangle on SVG: https://jsfiddle.net/Talker/jds2v568/1/
It is normally displayed only in chrome and its clones, but differently in FF and IE: it is cut off in FF, but not at all in IE is displayed.
How can I make it display the same in all browsers?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2015-12-21
@Emptyform

https://jsfiddle.net/jds2v568/3/
Didn't check in IE.
Added preserveAspectRatio='none' and changed background-size to 100% 100%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question