Tailwind CSS Position sticky
Use responsive position sticky utilities with TW elements. Learn how to set an element to be visible until a certain point when scrolling.
.sticky class to position an element as relative until it
crosses a specified threshold, then treat it as fixed until its parent is
Any offsets are calculated relative to the element’s normal position and the element will act as a position reference for absolutely positioned children.