Position sticky
Website:
https://www.myndi.dev/blog/post-1
I want make what is highlighted in the image sticky, but I can't. I feel like my brain is fried, or I'm doing something wrong that I can't see.
P.S.: You can play within the inspector and duplicate the
<p>
to make it longer.4 Replies
Is there a codepen for it?
you need to remove
overflow-x: auto'
from main
and put
on the aside-group
Jesus, so it was the overflow on the parent... couldn't even remember it being there, thank you so Mind if I give you credit on the repo?
sure I don't mind thanks. I was also stumped for a while with this, then i started turning off stuff and it clicked 😄