CSS container queries after size: scroll-state and style
Container queries began as a way to check a parent’s width. They now read scroll state, custom property values and anchor flips, which removes a lot of the JavaScript that used to handle sticky headers and tooltips.