README
kissui.sticky
Simple and lightweight sticky position that works everywhere.
Keeps elements positioned as "fixed" or "relative" depending on how it appears in the viewport. As a result the element is "stuck" when necessary while scrolling.
Simple and lightweight sticky position that works everywhere
<script type="module">
import kissuiSticky from 'https://cdn.skypack.dev/kissui.sticky';
</script>
Simple and lightweight sticky position that works everywhere.
Keeps elements positioned as "fixed" or "relative" depending on how it appears in the viewport. As a result the element is "stuck" when necessary while scrolling.