Really nice tutorial !
I'm wondering if it could be possible to get a param of an object directly in the tween. Let me explain.
For example, I want the wrapper to appear from the top. This is what I'm doing :
var h = $('#demoWrapper').height(); and use it in the tween tl.from("#demoWrapper", 0.5, {top:-h});
But would it be possible to dynamically get the property of the object we are tweening in GSAP with a similar syntax ?
tl.from("#demoWrapper", 0.5, {top:'-{self}.height'});