Skip to content

JavaScriptUtilities/vanillaSticky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vanillaSticky

Make an element sticky

How to use

Include the JS file in your HEAD.

<script src="js/vanilla-sticky.min.js"></script>
new vanilla_sticky_launch(document.querySelectorAll('.sticky-element'));

About

Make an element sticky

Resources

License

Stars

Watchers

Forks

Packages

No packages published