Adam Argyle@nerdy.dev5 Dec 2024#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)2359508
Devin@dvnrsn.bsky.social5 Dec 2024Is intersection observer the only way to do this at the moment? I feel like someone should have hacked "has" to help out here.11