A `:stuck` pseduo-class in CSS sure would be great for `position: sticky;` elements. Until we do (if we do!) we'll have to rely on `IntersectionObserver `. Ryan Mulligan has a nice clear demo.https://codepen.io/hexagoncircle/pen/qBMeWqo
https://twitter.com/CodePen/status/1646625811057848322
每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。