resize
Limited availability81% of users
Sets whether an element is resizable by the user, and if so, in which directions. Note that this only works on elements where overflow is not 'visible'.
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
none- Inherited
- No
- Applies to
- elements with overflow other than visible, and replaced elements
- Animation type
- discrete
Quick example
textarea.standard-input {
resize: vertical;
/* allows users to expand the box downwards only */
}
.resizable-panel {
overflow: auto;
resize: both;
/* user can resize the panel in both directions */
}Values
nonebothhorizontalverticalblockinlineresize 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.
Usage81%of people can use this19% use a browser without it.
Browsers
1+
4+
3+
79+Mobile
18+Android