TLDR Design · QUICK LINKS
SCROLL-DRIVEN ANIMATIONS: YOU WANT OVERFLOW: CLIP, NOT OVERFLOW: HIDDEN
Summary from the TLDR Design newsletter
overflow: hidden shouldn’t be used in scroll-driven animations because it creates a scroll container. overflow: clip should be used instead because it hides overflowing content without creating a scroll container.