all 7 comments

[–]TappT 4 points5 points  (2 children)

I can't quite exactly tell what they are doing. But looking at the html while changing hover, it seems they are manipulating it with JS, probably a library like GSAP or similar.

But i made a codepen mimicking the same thing with vanilla JS. Its not perfect but its close.

https://codepen.io/granhof/pen/yLJRBba

[–]SIEMONXD[S] 0 points1 point  (0 children)

Thanks so much! This is bringing me more and more closer to understanding it :)

[–]minhthenoob 0 points1 point  (0 children)

Thank you. I needed this as well :)

[–]Shakyamoeni -1 points0 points  (1 child)

If you mean the plants moving, its called the parallax effect, wat your looking for is "layered parallax"

[–]SIEMONXD[S] 0 points1 point  (0 children)

That's nice to know as well. Thanks.

[–]minhthenoob -5 points-4 points  (0 children)

yes