DEV Community

DavideMichelotti
DavideMichelotti

Posted on

How to do a child sticky header push parent

It is possible to make a sticky header inside a DIV with another sticky header push the sticky header over?

This is an example: https://codepen.io/davide-michelotti/pen/ExyPLeg

I would like "TITLE DIV INSIDE DIV 2" to push "TITLE DIV 2" without taking the DIV 'DIV 2.1' out of the DIV 'DIV 2'

Top comments (0)