Bubbles
16 points · 2 hours ago · 0 comments

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 reality was that only one of both would stick. A recent change to CSS fixes this: position: sticky can now track the nearest scrolling container per axis. This change is available in Chrome 148.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.