I have to same/ similar question.
And although the warning, I'd still like to see for myself.
Here's my codepen: https://codepen.io/TKick/pen/ExwELvE
Currently the shadows are defined like this:
box-shadow:
0px 54px 55px 0px rgba(0, 0, 0, 0.8),
0px -12px 30px 0px rgba(0, 0, 0, 0.7),
0px 4px 6px 0px rgba(0,0,0,.7),
0px 12px 13px 0px rgba(0,0,0,.8),
0px -3px 5px 0px rgba(0,0,0,.5);
And need to become:
box-shadow:
0px 14px 15px 0px rgba(0, 0, 0, 0.8),
0px -2px 10px 0px rgba(0, 0, 0, 0.7),
0px 2px 3px 0px rgba(0,0,0,.7),
0px 6px 7px 0px rgba(0,0,0,.8),
0px -1px 23px 0px rgba(0,0,0,.5);}
Currently the gsap code is:
.to(avtr, {duration: 3, y: 25, yoyo: true, repeat: -1})
I got this idea from: https://codepen.io/MarioDesigns/pen/woJgeo
Which is using CSS animation, which could be(come) an alternative method, IF I don't like the gsap solution.
I tried with
, {css: {box-shadow:
0px 14px 15px 0px rgba(0, 0, 0, 0.8),
0px -2px 10px 0px rgba(0, 0, 0, 0.7),
0px 2px 3px 0px rgba(0,0,0,.7),
0px 6px 7px 0px rgba(0,0,0,.8),
0px -1px 23px 0px rgba(0,0,0,.5)}
But that's somehow faulty...
Any tips to get me going?