Be sure that your SVG has a width
and height
specified. If you’re generating it from Illustrator, ensure that the “Responsive” box is unchecked as this option removes width and height.
More Related Contents:
- SVG in img element proportions not respected in ie9
- img src SVG changing the styles with CSS
- Transparent text cut out of background
- SVG data image not working as a background-image in a pseudo element
- Remove IE10’s “clear field” X button on certain inputs?
- Inline SVG in CSS
- Why does order of transforms matter? rotate/scale doesn’t give the same result as scale/rotate
- SVG animation is not working on IE11
- CSS transparent curved shape with two rounded sides
- CSS background-size: cover + background-attachment: fixed clipping background images
- Is there a way to use SVG as content in a pseudo element ::before or ::after
- Gradients in Internet Explorer 9
- How to animate handwriting text on the web page using SVG?
- Specify an SVG as a background image and ALSO style the SVG in CSS?
- Outlining and partially filling an SVG Shape
- Can I change the fill color of an svg path with CSS?
- How to make a element expand or contract to its parent container?
- Deprecated SMIL SVG animation replaced with CSS or Web animations effects (hover, click)
- Media query not working in IE9
- Are CSS3 ::before and ::after pseudo elements supported by IE9 or not?
- :active css selector not working for IE8 and IE9
- How can I change the color of an ‘svg’ element?
- How to add animated gradient to an svg path?
- Transparent hollow or cut out shape in HTML
- CSS change d property of
- Fill only Half a star with SVG
- SVG Fill not being applied in FireFox
- Why is filter(drop-shadow) causing my SVG to disappear in Safari?
- Background color of tspan element
- Double curved shape