The sticky utility in TailwindCSS lets you stick an element to its parent. The main difference between the sticky utility & the fixed utility is that fixed let you fix the element to the window object.
With the sticky utility, you can stick your element on the top of the parent with top-0 or on the bottom with bottom-0 (Note: You need to put your element on the bottom first, with a flexbox for example)
Live example ๐ play.tailwindcss.com/el0yWXm00Z Documentation ๐ tailwindcss.com/docs/position#sticky