Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design Is it possible to create a hover function for specific layers of an svg?

  • Is it possible to create a hover function for specific layers of an svg?

    FrederickDanzoy created 1 week ago 0 Member · 1 Post
  • FrederickDanzoy

    Member
    October 12, 2019 at 10:03 pm

    I have created a background for my website that is an svg and now I want certain parts to animate when I hover over them. I have accomplished this with one of the elements in the svg but the animation occurs whenever I hover my mouse over any portion of the svg canvas as opposed to having it animate only when i hover over the element that I want to animate. ​ Is it possible to make it so that the element only animates when I hover over one specific element on the svg instead of that element doing the animation any time I have my cursor on any part of the svg? Right now it creates the transition effect when I hover over any part of the SVG and I want it to create the transition effect only when I hover over a specific element on the svg (the guitar). ​ Here is a video of what the site does now. – by hq overview lifelifebalance – –

Reply to: FrederickDanzoy
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now