So I have my SVG-circle.
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="168" cy="179" r="59" fill="white" />
</svg>
I want it to be 120% when one hover the circle. I tried both with width, height and stroke. Haven't find any solution to make the circle bigger when hovering. Any suggestions?
circle:hover
{
stroke-width:10px;
}
circle:hover
{
height: 120%;
width: 120%;
}
You forgot the stroke color:
Want to only use CSS? Use
line
instead ofcircle
.http://jsfiddle.net/rLk7rd8b/
Use this :
Demo Here
I am not sure, but you can not full custom a svg only with css. However, if you will do it won't be cross browser. In the past I used svg for creating a complex map and for me the solution was rapheljs.
EDIT:
Using @phonicx calculus for radius i modified the code, having something which is able to customize each circle ( in case if you have more ) :