Share Posted October 13, 2015 The skew values do not get calulated proplery using GSAP plugin. I am geting correct values using simple jquery animate doesnt alter the height of the element. How ever i feel that even though the height is not explicitly calculated, there seems to be height difference. Please check the codepen url for the same. See the Pen MavzEp by rahuljadav (@rahuljadav) on CodePen Link to comment Share on other sites More sharing options...
Share Posted October 13, 2015 Hi rahuljadav pls check this out : See the Pen qOXQwL by MAW (@MAW) on CodePen 5 Link to comment Share on other sites More sharing options...
Share Posted October 13, 2015 Hello rahuljadav, To add to Diaco's helpful example .. There is really no need to use CSS vendor prefixes (-webkit-), or use jQuery animate() with GSAP, since they will both be competing to animate your elements. It It is better to use either / or. Diacos See the Pen qOXQwL by MAW (@MAW) on CodePen shows how you can use GSAP to animate your elements with very little code. GSAP's equivalent for jQuery css() method is the GSAP set() method 3 Link to comment Share on other sites More sharing options...
Author Share Posted October 13, 2015 Thank you Diaco and Jonathan It was very helpful. Link to comment Share on other sites More sharing options...
Author Share Posted October 13, 2015 Hi Diaco, Can you proive me the link for the cycle tag that is being used. Thanks, Link to comment Share on other sites More sharing options...
Share Posted October 13, 2015 You can learn about cycle here: http://greensock.com/gsap-1-18-0 2 Link to comment Share on other sites More sharing options...
Share Posted April 19, 2016 Once again, Diaco and his random pens to the rescue. I would have never know the "skewType" otherwise... 2 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