Gigi Posted August 3, 2023 Share Posted August 3, 2023 I'm trying to animate the CSS property mask-image/-webkit-mask-image with GSAP (Using Svelte/SvelteKit and TailwindCSS). I do not understand why the property is not being animated? Am I doing something wrong? See the Pen BaGMYdL by darthgigi (@darthgigi) on CodePen Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted August 3, 2023 Solution Share Posted August 3, 2023 Hi @Gigi welcome to the forum! The ; are the culprit if you remove those it works. Hope it helps and happy tweening! See the Pen wvQNEdb?editors=0110 by mvaneijgen (@mvaneijgen) on CodePen 2 Link to comment Share on other sites More sharing options...
Gigi Posted August 3, 2023 Author Share Posted August 3, 2023 Ooh haha, such a simple fix. Thank you so much! 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