resize (CSS property)Limited availability
The resize CSS property sets whether an element can be resized by the user, and on which axes.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–3Not supported
4+Supportedsince Jan 25, 2010
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–4Not supported
5+Supportedsince Jun 21, 2011
Current: 157Safari
1–3.1Not supported
4+Supportedsince Jun 8, 2009
Current: 27MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: resize.
Feature detection
CSS · check before using
@supports (resize: initial) {
/* styles that rely on resize */
}
/* or in JavaScript */
if (CSS.supports("resize", "initial")) {
// use it
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (4). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| resize | 1 | 79 | 4 | 3 | 18 | ✕ | ✕ |
| resize.block | 118 | 118 | 63 | 16 | 118 | ✕ | ✕ |
| resize.block_level_support | 4 | 79 | 5 | 4 | 18 | ✕ | ✕ |
| resize.inline | 118 | 118 | 63 | 16 | 118 | ✕ | ✕ |