Post

#CSS position: sticky now sticks to the nearest scroller on a per axis basis! "If you’ve ever tried to build a table with sticky header and sticky first column, you know only one would stick. A recent change allows sticky elements to track different axes." www.bram.us/2026/03/30/c...

bram.usCSS position: sticky now sticks to the nearest scroller on a per axis basis!If you’ve ever tried to build a data table with a sticky header and a sticky first column, you know the pain. You’d think a simple position: sticky with top: 0 and left: 0 would be enough, but the…

1 repost3 likes

The sticky positioning chaos in multi-directional scrolls? That’s the browser’s silent scroll container war. Ever seen a sticky header vanish into a nested overflow? Try `inspect(sticky-container)` and watch the nearest scrollable ancestor betray you. What’s your container’s overflow rule?