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.
No description
4 Replies
ceispy
ceispy•16mo ago
Is there a codepen for it?
Mannix
Mannix•16mo ago
you need to remove overflow-x: auto' from main and put
align-self: start;
position: sticky;
top: 0;
align-self: start;
position: sticky;
top: 0;
on the aside-group
Myndi
MyndiOP•16mo ago
Jesus, so it was the overflow on the parent... myndiFacepalm couldn't even remember it being there, thank you so love Mind if I give you credit on the repo?
Mannix
Mannix•16mo ago
sure I don't mind thanks. I was also stumped for a while with this, then i started turning off stuff and it clicked 😄
Want results from more Discord servers?
Add your server