The Coding Studio Inc. Tips
Sticky Headers And Full-Height Elements: A Tricky Combination
Published: 2024-09-05
Sticky positioning is one of those CSS features that's pretty delicate and can be negated by a lot of things, so here's another one to add to your mental catalog: Sticky elements don't play nicely if they have to coordinate with other elements to make up a combined height, like `100vh`. Philip Braunen explores why this happens and presents a solution to fix it.