coderef

overflow: clipBaseline · Widely available

The overflow: clip CSS declaration clips an element's overflowing content to the box that's defined by the overflow-clip-margin property. Unlike overflow: hidden, it allows you to hide overflow on one axis while keeping overflow on the other axis visible.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 12, 2022. Widely available since Mar 12, 2025.

Browser support

DesktopChrome
1–89Not supported
90+Supportedsince Apr 13, 2021
Current: 155
Edge
12–89Not supported
90+Supportedsince Apr 15, 2021
Current: 154
Firefox
1–80Not supported
81+Supportedsince Sep 22, 2020
Current: 157
Safari
1–15.6Not supported
16+Supportedsince Sep 12, 2022
Current: 27
MobileChrome Android
18–89Not supported
90+Supportedsince Apr 13, 2021
Current: 155
Firefox Android
4–80Not supported
81+Supportedsince Sep 22, 2020
Current: 157
Safari iOS
1–15.6Not supported
16+Supportedsince Sep 12, 2022
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN — see the links below.

Feature detection

CSS · check before using
@supports (overflow-x: clip) {
  /* styles that rely on overflow-x: clip */
}

/* or in JavaScript */
if (CSS.supports("overflow-x", "clip")) {
  // use it
}

Sub-features

Support for each part of the feature (4). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
overflow-x.clip90908116908116
overflow-y.clip90908116908116
overflow.clip90908116908116
<overflow>.clip90908116908116