clipLimited availability
The clip CSS property sets the visible area of an absolutely positioned element.
Not yet supported in all major browsers — check the table and provide a fallback.
Discouraged: The CSS Masking specification deprecated the clip property. Use instead: clip-path
Browser support
DesktopChrome
1+Supportedsince Dec 11, 2008
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1+Supportedsince Nov 9, 2004
Current: 157Safari
1–1.2Not supported
1.3+Supportedsince Apr 15, 2005
Current: 27MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155Firefox Android
4+Supportedsince Mar 29, 2011
Current: 157Safari iOS
1+Supportedsince Jun 29, 2007
Current: 27How to use
Support is still inconsistent across browsers. Use feature detection and test carefully.
Example
Full syntax and examples are on MDN: clip.
Feature detection
CSS · check before using
@supports (clip: initial) {
/* styles that rely on clip */
}
/* or in JavaScript */
if (CSS.supports("clip", "initial")) {
// use it
}Specification
Sub-features
Support for each part of the feature (4). The overall table above shows when the whole feature works.