Styling a sticky element when it gets pinned using ReactIn this case, using the scroll event offers more flexibility than using the IntersectionObserver APIJavier Aguilar·Mar 30, 2024·1 min readhttps://codepen.io/itsjavi/pen/OJGxZeq ReactCSS Share this