What script is used to do this?

Discussion in 'HTML & Website Design' started by serialentre, Feb 5, 2015.

  1. #1
    Hi all,

    I came across this site.

    Once I scroll down on my mouse, it scrolls automatically to the next section. Is a script used to create the animation?

    I noticed that Div Class of each section is appended with a class of "active" when that section is currently selected.

    https://stockflare.com/#landing

    EDIT: I found something like this here:

    http://www.jqueryscript.net/layout/Cross-Browser-jQuery-One-Page-Navigation-Smooth-Scrolling-Plugin-Full-Scroll.html

    QUESTION: Can this effect be created with CSS alone?

    Thanks!
     
    Last edited: Feb 5, 2015
    serialentre, Feb 5, 2015 IP
  2. vselluk

    vselluk Member

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    25
    #2
    no its not you need to use javascript plugins as well as CSS transforms to achieve this effect
     
    vselluk, Feb 6, 2015 IP
  3. vselluk

    vselluk Member

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    25
    #3
    see new objects created with material design angular js
     
    vselluk, Feb 6, 2015 IP
  4. serialentre

    serialentre Member

    Messages:
    123
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    30
    #4
    Hi Vseulluk,

    Thanks for pointing that out, will take a look
     
    serialentre, Feb 6, 2015 IP