Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Animate On Page Load Like This…

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #236780
    porgeet
    Participant

    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

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.