No more extra scrollbars when using overflow-x

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateUI2 min

About this video

A short CSS tip explaining that overflow-x: hidden can produce unwanted vertical scrollbars, and that switching to overflow-x: clip avoids the problem.

What you’ll learn

  • Diagnose why overflow-x: hidden creates a vertical scrollbar