A short CSS tutorial explaining why overflow: hidden can create unexpected scrollbars when a menu needs to overflow its parent in one direction, and how overflow: clip and clip-margin offer an alternative. It is aimed at people who already build interfaces with CSS.
What you’ll learn
✓Explain why overflow: hidden can create unwanted scrollbars
✓Use overflow: clip to let an element extend in one direction
✓Apply clip-margin to control how far content can overflow