Secret (?) alternative to overflow: hidden that no one is talking about

Web Bae on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI7 min

About this video

The video compares the CSS overflow: clip property with overflow: hidden, focusing on how clip keeps position: sticky children working. It uses the documentation to check whether clip is a sound replacement in most cases. It suits developers who already build web layouts.

What you’ll learn

  • Compare overflow: clip with overflow: hidden for clipping content
  • Explain why overflow: hidden can break position: sticky children
  • Check the documentation before swapping overflow: hidden for overflow: clip