Tag: Smooth Scroll
Library
Website – https://lenis.darkroom.engineering/ Setup – https://github.com/darkroomengineering/lenis?tab=readme-ov-file CDN Script <!– Lenis JS for smooth scroll –> <script...
Misc
Just place this code anywhere after including jQuery library. This helps the user scroll to the ‘element’ id in href=”#element”. $(function () { /* Slide to # location with animation */ $(document).on(‘click’,...