Skip to content

Container Scroll State Queries

Container scroll-state queries are a type of container query. Rather than selectively applying styles to descendant elements based on the container’s size, scroll-state queries allow you to selectively apply styles to descendant elements based on the container’s scroll state.