*** Note from the future *** The examples posted here by me are not 100% correct and there also are easier ways to achieve this effect. Head over to this thread for better versions - bonus: they include ScrollSmoother instead of smooth-scrollbar.       Cuberto.com actually does handle things a bit different from what I suggested.   Here you go, this should pretty much resemble cuberto.com's behaviour.   See the Pen a959c4e8955
    • Thanks
    • Like