Top "Svg" questions

Scalable Vector Graphics (SVG) is an XML-based two-dimensional vector graphics format that can also be used in HTML.

Is there a way to use SVG as content in a pseudo element :before or :after

I want to place some SVG images before some selected elements. I am using jQuery but that is irrelevant. I …

css svg
Convert SVG to image (JPEG, PNG, etc.) in the browser

I want to convert SVG into bitmap images (like JPEG, PNG, etc.) through JavaScript.

javascript svg
How can I make an svg scale with its parent container?

I want to have an inline svg element's contents scale when size is non-native. Of course I could have it …

css html svg scaling
How do I center an SVG in a div?

I have an SVG that I am trying to center in a div. The div has a width or 900px. …

css layout svg positioning margin
Resizing SVG in html?

So, I have an SVG file in HTML, and one of the things I've heard about the format is that …

html svg
How to display svg icons(.svg files) in UI using React Component?

I have seen a lot of libraries for svg on react but none gave me how to import an svg …

reactjs svg
Inline SVG in CSS

Is it possible to use an inline SVG definition in CSS? I mean something like: .my-class { background-image: <svg>...&…

css svg
How to convert a SVG to a PNG with ImageMagick?

I have a SVG file that has a defined size of 16x16. When I use ImageMagick's convert program to convert …

svg imagemagick png
How to extract svg as file from web page

I want to save SVG as file from this page https://www.lightningdesignsystem.com/icons/ Is there any Chrome extension …

html svg
How to use z-index in svg elements?

I'm using the svg circles in my project like this, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 120"> &…

javascript jquery svg z-index