Skip to main content

Resize

Set how an element can be resized.

Limited availability

This feature does not work in some of the most widely-used browsers.

Chrome
Edge
FirefoxDesktop only
SafariDesktop only

r:b
resize: both;
r:h
resize: horizontal;
r:none
resize: none;
r:v
resize: vertical;

Media Queries

Prefix a class with a breakpoint to apply it from that width up.

Pseudo Classes

Prefix a class with a state to apply it only while that state matches.