Questions tagged as 'svg'

1
answer

Stylize (css) SVG sprite with com border

I'm using svg sprite and would like to know how to stylize these icons, I can use fill: color , but I'd like to give a hover effect by leaving only the border. I'll put the codes I have here to make the icon appear. SVG: <svg ve...
asked by 13.03.2017 / 15:37
1
answer

Pulse Effect does not work correctly when it has 2 elements

I have the following code: <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" xml:space="preserve"> <g> <circle class="pulse" fill="none" stroke="#FF00...
asked by 20.02.2017 / 20:56
2
answers

Zoom in out mousedown

I have an SVG image, how can I create a small zoom (zoom in) when I step over the mouse, and return to its size when it left? I have the example: link     
asked by 06.04.2016 / 13:04
1
answer

SVG Image Animation - Auto Drawing

I created a vector in Illustrator and saved it in .svg - this is the present and future of the images. And I got the code in svg of the image and put it on the site. I want to make an animation with this image, an animation like...
asked by 18.09.2015 / 15:16
1
answer

Identify the positions of objects

I have two images that I move, and that I store its position x and y in an array. I create a clone of each image, and when I parse to move (onmouseup) I keep its position. I give the same id to each generated image so I can know which one. Witho...
asked by 25.03.2015 / 11:50
1
answer

Svg contained in DIV does not follow "max-height: 100%"

See the example structure first. .follow-window-size-container { height: 100vh; background-color: green; } container-of-svg { max-height: 100%; } container-of-svg svg { max-height: 100%; } <div class="f...
asked by 02.03.2015 / 23:56
3
answers

Gantt chart using C3.js: How to use axis Y category or Y timeseries?

I'm looking for a solution inside the java library C3.JS (Based on D3.JS) where I can create a graph that shows over a period the types of certain thing being used and interleaved. A small example: Well,Itriedtousevarchart=c3.generate({...,ax...
asked by 27.10.2014 / 13:08
1
answer

Adding SVG object inside a div dynamically

I have an SVG element created from a clone. What I wanted was to insert this clone into a new div. I used this code. function clone(){ var newrect = document.getElementById('rect').cloneNode(true); document.getElementById("svg"...
asked by 20.10.2014 / 13:32
1
answer

Problem in SVG image. Event mouseenter (), mousemove (), and mouseleave ()

I have an SVG image with the States of the Country, and when I hover over a State, the image with the name of the State appears and follow the mouse. I have already made the image appear and disappear with the events mouseenter and...
asked by 14.04.2014 / 21:38
1
answer

SVG with bottom 0 in footer and continues with white space

Good afternoon I have a problem with my layout, svg is in the footer position and I can not remove the white space at the bottom of the page. I tried on the body I think not his property. <svgclass="absolute rodape-bg" xmlns="http://www.w3.o...
asked by 22.08.2018 / 20:39