Kutalev Posted January 12, 2022 Share Posted January 12, 2022 Hello! Could you please help me to realise what am I doing wrong. I'm trying on hover play an animation only on one element, but they work simultaneously. I thought maybe it's because of id attribute inside of svg, but doesn't looks that way. See the Pen qBPQvBx by kutalev (@kutalev) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted January 13, 2022 Share Posted January 13, 2022 You're using the same id for your fills. There can only be 1 unique ID in a document, so you need different IDs in your second folder. fill="url(#paint0_radial_0_502)" 2 Link to comment Share on other sites More sharing options...
Carl Posted January 13, 2022 Share Posted January 13, 2022 I was slowly getting to the same conclusion as @OSUblake 😁 it's a pretty cool effect. nice job See the Pen XWeyGVZ?editors=1010 by snorkltv (@snorkltv) on CodePen 1 Link to comment Share on other sites More sharing options...
Kutalev Posted January 13, 2022 Author Share Posted January 13, 2022 Thank you! I knew I was close, but too tired to find it) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now