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;

Responsiveness

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:r-(value)
Small640px
md:r-(value)
Medium768px
lg:r-(value)
Large1024px
xxl:r-(value)
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:r-(value)