showcar-ui
Version:
Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.
5 lines (3 loc) • 328 B
Markdown
<h2>Smooth scrolling<span class="status approved">Approved</span><span class="status js">JS</span></h2>
Adds animated scrolling when anchoring to elements. In order to use it add the `data-smooth-scroll` attribute to any anchor link.
In case you want to trigger the smooth scrolling via JS have a look at the JS example below.