Questions tagged as 'svg'

1
answer

How to dynamically create an element in SVG?

I want to use a number of one variable and create several SVG objects the same. Just change your position and name in JavaScript. As in the for loop sampled in the pseudo-code: for(i=0; i<variavel; i++){ <circle title=circl...
asked by 14.11.2014 / 16:17
1
answer

Shadow in svg - CSS

I need to apply the "external brightness" effect of photoshop to an SVG logo. the logo is being referenced by the tag image: <img src="imagens/logos/erp.svg"/> And I could not apply the text-shadow effect to the page CSS. How can...
asked by 09.07.2018 / 15:17
2
answers

How to use svg images?

I do not understand and can not even use svg images in a web application. I downloaded the image https://svgur.com/i/8NF.svg and put it in <img src="8NF.svg" class="logo"/> , but it does not appear. Only appears if I pl...
asked by 17.09.2018 / 20:50
1
answer

Help to understand SVG coordinates and scaling

I'm trying to set an icone.svg on the system and something went wrong: the icon does not appear on the screen ... I think it may be the coordinate system. I am having doubts on how to resize the images and on such a coordinate system. I did...
asked by 04.01.2017 / 02:58
4
answers

How to set Background-image with SVG hosted elsewhere

I'm making a website that needs to get a svg from another site ( www.teste.com.br/imagem.svg ) and arrow it as the background. But I'm not getting it. Here's how I'm doing: <html> <head> <meta charset="utf-8" /...
asked by 01.04.2014 / 01:00
1
answer

Hover in SVG on my page does not respond

I'm trying to create a circle with several divisions in SVG, and each section when passing the mouse, I would like the background color to change. However the code I'm trying to use is not working. I added the class "t3-30" in the square that I...
asked by 11.11.2018 / 21:43
1
answer

SVG icon created with Inkscape is not properly imported

With Inkscape application, I'm trying to create my own custom icons in SVG and then import them into Android Studio. When importing to Android Studio I get the following error message ERROR@ line 29 <defs> is not supported WARNING@ line...
asked by 11.07.2016 / 15:22
1
answer

HTML table in SVG

Is it possible to create an HTML table within the <svg> tag? I have an example, but I can not see the objects. Example: link
asked by 27.03.2015 / 12:15
1
answer

Svg is not rendered, the browser downloads the file in iis

When you access the site containing an svg image, it does not appear but the browser downloads the image and the following message appears in the debug console: Resource interpreted as Document but transferred with MIME type application / oc...
asked by 10.07.2014 / 15:11
1
answer

Keep clicking part of an SVG using CSS

I would like the following: Click on one of the segments, and it will get painted. My idea was to use only CSS, so I wanted to know if there is anything like hover to do this for me. My SVG is as follows: <svg xmlns:dc="http://pur...
asked by 05.12.2018 / 19:35