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

Usage

<textarea class="r-none ..."></textarea>
<textarea class="r-b ..."></textarea>
<textarea class="r-h ..."></textarea>
<textarea class="r-v ..."></textarea>

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

sm:r-*
Small640px
md:r-*
Medium768px
lg:r-*
Large1024px
xxl:r-*
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-*