Laurie Posted February 14, 2020 Share Posted February 14, 2020 Hey ! I'm trying to use mixBlendMode in the new GSAP, but the duration is not respected. The effect works, but immediately, even if I write a duration of 4 seconds. Is everyone can help me with this issue ? Thanks a lot, Laurie Link to comment Share on other sites More sharing options...
ZachSaucier Posted February 14, 2020 Share Posted February 14, 2020 Hey Laurie! mix-blend-mode is not an animatable property. This is a browser restriction, not a GSAP restriction. However, you may be able to fake it or use a different method to get the results that you're looking for. What are you trying to do? 1 Link to comment Share on other sites More sharing options...
Laurie Posted February 14, 2020 Author Share Posted February 14, 2020 Hey Zach, thanks for the answer! I just wanted to animate the mix-blend-mode on an image, like this : See the Pen BaNjGdb by LaurieVince (@LaurieVince) on CodePen Any recommandation ? Thanks again, Laurie Link to comment Share on other sites More sharing options...
ZachSaucier Posted February 14, 2020 Share Posted February 14, 2020 I'm confused. Mixed blend mode is not doing anything to that image? What are you blending it with? 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