Is it possibe to scale a div with TweenMax but I would like to maintain or reset the CSS top and left position? Below are a few failed attempts. It seems TweenMax always scales from the center point.
TweenMax.fromTo('#div-name', 2, {scaleX:.5, scaleY:.5}, {css:{top:0, left:0}});
or
TweenMax.to('#div-name', 2, {scaleX:.5, scaleY:.5});
$("#div-name").css({ top: '0px', left: '0px' });
The Codepen URL shows the red div scaling but not maintaining the top: 0 and left: 0 desired position.