How to Create Side Bar Nav that pushes against container stack

I’m trying to create a sidebar nav window like the one in Stack Overflow that pushes against the main container. Does anyone know how to do this I have already tried a couple of things with no success?


Hey Jackson,

One way is to re create the Stack Overflow structure as it is.
Container with 2 divs inside, both stretching all the way to the end of the page. Left side div contains another div with a sticky position, Right side div contains the content.

1 Like

Thanks! I got it working but doing something very similar

1 Like