Hi guys, i try to expand a div but when it expanded i want to push all the other content, something like that
See the Pen BYrvyb by asaelz (@asaelz) on CodePen
The whole idea is, when a column gets clicked or scrolled it must push the other columns an when its done pushing it must fade and then appear a background image
@Visual-QIf you console log reversed state and progress in your second example, you will notice that your statement never executes because progress remains zero. You can get around this by setting reversed property on timeline to true, otherwise timeline will play in reverse for the first time. Note that unlike reversed method, reversed property doesn't reverse entire timeline.
See the Pen jZXPVQ?editors=1010 by Sahil89 (@Sahil89) on CodePen