brandonjp - Overview

1

// when you're trying to use `position:sticky` on an element

2

// you'll have trouble if any parent/ancestor element has

3

// overflow set to anything other than "visible" (such as: auto,hidden,overlay,scroll)

4

// & turns out if a parent is `display:flex` it might need some love

5

// (to remedy this you can set the `align-self` of your sticky element)