πŸ“ͺResize

.resize-none

Prevents any resizing of the element.

CSS equivalent: resize: none;

Example usage:

<textarea class="resize-none">This element cannot be resized.</textarea>

.resize-both

Allows the element to be resized both horizontally and vertically.

CSS equivalent: resize: both;

Example usage:

<textarea class="resize-both">This element can be resized in both directions.</textarea>

.resize-horizontal

Allows the element to be resized horizontally only.

CSS equivalent: resize: horizontal;

Example usage:


.resize-vertical

Allows the element to be resized vertically only.

CSS equivalent: resize: vertical;

Example usage:


.resize-block

Allows block-level elements to be resized.

CSS equivalent: resize: block;

Example usage:


.resize-inline

Allows inline-level elements to be resized.

CSS equivalent: resize: inline;

Example usage:


.resize-initial

Resets the resize property to its initial value.

CSS equivalent: resize: initial;

Example usage:


.resize-inherit

Inherits the resize property from its parent element.

CSS equivalent: resize: inherit;

Example usage:


.resize-unset

Resets the resize property to its inherited or initial value.

CSS equivalent: resize: unset;

Example usage:

Last updated