Hi all
I’ve been studying this page https://ustwo.com/
I would like to know how they animated the elements like navigation and title to come on on page load.
I can’t see any CSS3 animation properties relating to it. I do however see some .js
classes and a .show
class that changes the opacity.
I’m still new in my web dev journey so this may be a basic question. But how did they animate it in?
With JS my guess would be something like $(window).load(function(){....});
within the function would be adding the .show
class over a period of time, as well as adjusting the y coordinate.
But I’m not sure if it’s even JS, any ideas? I just need pointing in a direction then I’ll go learn. I’m not expecting full on coded explanation from anyone :D
Many thanks
porgeet