hladké rolovanie css
html {
scroll-behavior: smooth;
}
/* No support in IE, or Safari
You can use this JS polyfill for those */
http://iamdustan.com/smoothscroll/
aos js
CSS
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
JS
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
INITIALIZE AOS:
<script>
AOS.init();
</script>
animované aos
<script>
AOS.init();
</script>
hladké posúvanie webových stránok
$('#element').foundation('_destroy');
rolovať js
window.scroll(x-coord, y-coord)
window.scroll(options)