This is so so needed...
Reposted from Adam Argyle
#CSS scroll-state() container queries
in Chrome 133!

@container scroll-state(stuck: top) {

}

Read all about snapped, stuck and scrollable in this post:
developer.chrome.com/blog/css-scr...

↪ nerdy.dev/scroll-state...

Comments