Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 601 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 601 Bytes

Suave

Suave makes it easier to apply smooth vertical scrolling to all of the same-page links on your website. Simply pass in all anchor tags and you are set. You can also select specific classes or IDs if you don't need it on all links.

Usage

// Apply to some links
$('.smooth-scroll').suave();

// Apply to all same-page links
$('a').suave();

Dependencies

  • jQuery: Suave was built using jQuery version 1.8.0 so anything from 1.8.0 and above should be good to go.

License

Suave is under the MIT open source license. Check out the license file for more :)