Sorry, but I don’t understand how to set the top of the green container as a trigger?  I only see the possibility of making the bottom of the green container as a trigger. I need .sticky pinned bottom when the .green container touches the top of the screen. And .sticky should unpin when the bottom of the .green container touches the top of the screen See the Pen pogWYOG by yuliarushay (@yuliarushay) on CodePen