Skip to main content

Resize

Utilities for controlling how an element can be resized.

CSS Property:resize
Classes:4

Resize Classes

ClassCSS
resize-noneresize: none;
resize-yresize: vertical;
resize-xresize: horizontal;
resizeresize: both;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[resize:value]

Responsive Variants

Apply resize utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:resize-none
768px+md:md:resize-none
1024px+lg:lg:resize-none
1280px+xl:xl:resize-none
1536px+2xl:2xl:resize-none