Set an offset amount in px for scroll anchoring
<script src="https://cdn.jsdelivr.net/gh/flowtricks/[email protected]/anchor-scroll-offset.js"></script>
This offsets the scroll by an additional 150px. We can use any px amount, positive or negative.
We can run this function to re-scroll to the active hash at any point.
<script> scrollToActiveHash(); </script>
Last updated 1 year ago