Tag to be used for question regarding inline use of scalable vector graphic (SVG) images.
Questions tagged [inline-svg]
69 questions
25
votes
8 answers
React rendering SVG overwrites other SVGs on the page
Using babel-plugin-inline-react-svg from within my next.js app, I'm importing some SVGs into my React v16.0.0 component like so.
import React from 'react';
import Close from './close.svg';
import Chevron from './right.svg';
import EmptyCart from…

dargue3
- 2,802
- 2
- 14
- 23
11
votes
1 answer
Inline SVG background not working in Internet Explorer 11
I have the following inline SVG defined as a background-image in my css.
div {
border: 1px solid black;
background-image: url("data:image/svg+xml;charset=utf8,
7
votes
0 answers
Firefox won't print inline SVG from external file
I cannot get Firefox to print an svg from an external file.
I have an icons.svg file with a lot of different icons. I embed them into the page using the following code:
6
votes
2 answers