coderef

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: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–4Not supported
5+Supportedsince Jun 21, 2011
Current: 157
Safari
1–3.1Not supported
4+Supportedsince Jun 8, 2009
Current: 27
MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155
Firefox Android
✕Not supportedup to 157
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How 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-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
resize1794318✕✕
resize.block1181186316118✕✕
resize.block_level_support4795418✕✕
resize.inline1181186316118✕✕