jquery animating svg graphics without using the sv

2019-06-08 00:36发布

can anyone give me some advice on how to animate svg graphics using jquery core only? basically what i want to be able to do is enlarge the graphic by 10% on hover and also add some css3 styles?

All advice would be great

Kyle

1条回答
太酷不给撩
2楼-- · 2019-06-08 01:25

Answer: http://jsfiddle.net/morrison/LpPdP/

Notes:

  • The SVG image is simply an image. You can do anything to an SVG image that you can with a normal image.
  • You can style via .hover class. I chose to add the class hover when you hover, as that made the most sense.
查看更多
登录 后发表回答