Resize
Controls the way an item can be resized.
Limited availability
This feature does not work in some of the most widely-used browsers.
r-bresize: both;r-hresize: horizontal;r-noneresize: none;r-vresize: vertical;None
Initial value
Prevents the element from being resized by the user.
<div class="d-f fd-c"> <label class="mb-2">Write a message:</label> <textarea class="bw-1 r-none bw-1 bc-silver-4 px-3 py-2 fs-md f:oc-silver-1 f:os-s f:ow-2" rows="4"></textarea></div>Both
Allows the element to be resized both horizontally and vertically.
<div class="d-f fd-c"> <label class="mb-2">Write a message:</label> <textarea class="bw-1 max-h-50 max-w-100 r-b bw-1 bc-silver-4 px-3 py-2 fs-md f:oc-silver-1 f:os-s f:ow-2" rows="4"></textarea></div>Horizontal
Allows the element to be resized only in the horizontal direction.
<div class="d-f fd-c"> <label class="mb-2">Write a message:</label> <textarea class="bw-1 max-w-100 r-h bw-1 bc-silver-4 px-3 py-2 fs-md f:oc-silver-1 f:os-s f:ow-2" rows="4"></textarea></div>Vertical
Allows the element to be resized only in the vertical direction.
<div class="d-f fd-c"> <label class="mb-2">Write a message:</label> <textarea class="bw-1 max-h-100 r-v bw-1 bc-silver-4 px-3 py-2 fs-md f:oc-silver-1 f:os-s f:ow-2" rows="4"></textarea></div>Using utility variants
Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.
Responsive design
Target different screen sizes by adding breakpoint prefixes. Styles apply from the specified breakpoint and up.
Target specific viewport sizes with breakpoint prefixes
sm:r-[value]md:r-[value]lg:r-[value]xxl:r-[value]Hover state variant
Apply styles conditionally when users hover over an element using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
h:r-[value]