Search the Community
Showing results for tags 'override'.
Found 1 result
x attribute not overriding css tranformHi, I am very exited about GSAP so I just started to discover it playing around. Congratulation to all the staff! There is a thing that I cannot understand and I am wondering if this could not be a bug. When you set a transform CSS value (ie transform: matrix(1,0,0,1,0,0); ) through a CSS stylesheet and then you try to use GSAP to tween a movement to a different position, the CSS is not overridden since the transform is only set as an attribute and not also as a CSS inline style property. I know that I can use TweenMax.set function to set the transform value instead of using CSS, but sometimes this could be inconvenient and overriding a must. Is there anything that I have not understood on how to correctly use GSAP for this purpose? Many thank!