Position sticky
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.
Basic example
Use .sticky
class to position an element as relative until it
crosses a specified threshold, then treat it as fixed until its parent is
off screen.
Any offsets are calculated relative to the element’s normal position and the element will act as a position reference for absolutely positioned children.
A
Abigail Davis
Alexander Lee
Amelia Collins
Andrew Carter
B
Benjamin Hughes
Bradley Wood
Brianna White
Brittany Campbell
C
Caleb Adams
Catherine James
Charlotte Gray
Corey Bailey