clip
Limited availability97% of usersDeprecated
A legacy property used to define which portion of an absolutely positioned element is visible. It has been replaced by the more flexible 'clip-path' property.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- absolutely positioned elements
- Animation type
- rectangle
Quick example
.legacy-box {
position: absolute;
clip: rect(0, 50px, 50px, 0);
/* old-style rectangle clipping (use clip-path for new projects!) */
}Values
autoclip browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage97%of people can use this3% use a browser without it.
Browsers
1+
1+
1+
12+Mobile
18+Android
4+Android
1+iOS