resize
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'.
It is documented as part of the CSS Basic User Interface specification.
Syntax
/* Usage 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 */
}
/* Syntax */
resize: none;
resize: both;
resize: horizontal;
resize: vertical;
resize: block;
resize: inline;
/* Global values */
resize: inherit;
resize: initial;
resize: revert;
resize: revert-layer;
resize: unset;
resize Browser support
Limited availability
Since
2020 84% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
1+
4+
3+
79+