Questions tagged as 'svg'

2
answers

SVG, Canvas or CSS? I need to make a network of circles with images that interconnect

Well, that's it. I thought of doing using SVG and bordered image but my concern is about responsiveness, on smaller devices it will get all messed up I wanted a way for lines to automatically connect to images regardless of where the...
asked by 06.03.2018 / 02:58
1
answer

Identify SVG elements

I have this code to create SVG elements dynamically through a for, and a step number, which is the number of elements that are going to be created (by default equal to 10). I add an id to each element. I would now like to know if for example I c...
asked by 03.12.2014 / 13:00
1
answer

Do I need to declare the SVG Version in the tag?

I have a question about the need to declare the SVG version in the <svg> I know that SVG started with the version 1.0 , 1.1 , 1.2 and is now in the 2.0 version. Some SVG I see with the version declaratio...
asked by 04.01.2019 / 12:47
1
answer

Animation transform scale "blurring" svg while animating

I have a problem to do an animation where I have circle in svg and I need to make it increase until I cover the whole screen, like a FAB that turns into a div, I've done an animation of that but with a lot of background-s...
asked by 17.10.2017 / 00:10
1
answer

Measure distance between polygon points SVG

I created a very simple% color with a triangle. <svg class="triangulo" height="210" width="500"> <polygon points="200,10 250,190 160,210" style="fill:lime;stroke:purple;stroke-width:1" /> </svg> And what I want to know...
asked by 23.08.2014 / 19:26
1
answer

Make multiple SVGs converge to the same point with CSS

Well folks, I wanted to know if I could join this shape, which looks like a piece of pizza, to form a circle. The idea would be to clone it, 10 times, and to form the complete circle. link After making them stay in position, I want to up...
asked by 06.12.2018 / 20:57
1
answer

SVG - Problem opening a svg file

Good people, I have a small problem with svg files. Home The situation is this: I have an initial file (also with svg extension) that I edit later (I change the text, dates and so) with the help of a opentype library. The edition r...
asked by 24.09.2018 / 17:38
1
answer

SVG image upload optimization

I'm creating a site that contains several SVG images. I've tried to create a sprite with some images and embed it right in the CSS (background-image). After searching for several days, I could not find any solution to improve image loading th...
asked by 27.07.2018 / 21:17
1
answer

Center svg within a rect element

Good morning, I have the following code <?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 708.7 7...
asked by 26.07.2018 / 13:20
1
answer

Effect with js and svg only works in the first class in the second effect does not apply

I have a problem with my effect on svg I added a triangles effect with svg and js on one of my sessions site as you can see works normally but I needed to put this effect again in another session I'm calling the effect via...
asked by 29.01.2018 / 17:54