Position: sticky not working

For some reason, position sticky doesn’t seem to be working.

I’ve tried the following:

  1. Ensured parent has overflow set to visible
  2. Inserted a top value

Help!

Have you set your parent element to a hight? That is necessary. However, usually you want to use this in combination with a flexbox. You should set the “align cross axis” to stretch. And of course a “top value”.