Post

#CSS scroll-state() container queries: the "stuck" query ```css @container scroll-state(stuck: top) { box-shadow: var(--shadow-5); border-radius: var(--radius-3); margin: var(--size-5); } ``` article coming soon! (currently in Canary experiments)

Like container queries, the stuck element cannot query itself. A child can! you'll need a stuck wrapper around the item that wants to react to its stickiness