Show HN: Sticky Sidebar – Pure JavaScript plugin for making smart sticky sidebar abouolia.github.io 9 points by octosphere 5 years ago
Or just use:
position: sticky; top: 10px