A
A
Anatoly Salamatin2017-08-03 10:27:37
css
Anatoly Salamatin, 2017-08-03 10:27:37

Why is svg sprite not showing up in Chrome locally?

Hello. Why is the SVG sprite not displayed in Chrome and Opera browsers when viewed locally. If you upload the site to hosting or raise the server locally, then everything is ok.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
monochromer, 2017-08-10
@farcer

Accessing svg via xlink:href requires HTTP, does not work locally. Unless you embed the svg inline.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question