Field Sizing
Controls the sizing of elements that have a default preferred size.
Limited availability
This feature does not work in some of the most widely-used browsers.
Fixed
Initial value
Allows the field to size itself based on the content, adjusting its size dynamically to fit the content inside.
<div class="d-f fd-c"> <label class="mb-2 c-slate fw-600">Write a message:</label> <textarea class="bw-1 bc-silver-4 f:oc-silver-1 f:os-s f:ow-2 fs-f max-h-50 max-w-100 r-none" placeholder="Hello, my name is..."></textarea></div>Content
Ensures that the field maintains a fixed size, regardless of the content within it.
<div class="d-f fd-c"> <label class="mb-2 c-slate fw-600">Write a message:</label> <textarea class="bw-1 bc-silver-4 f:oc-silver-1 f:os-s f:ow-2 fs-c max-h-50 max-w-100 r-none" placeholder="Hello, my name is..."></textarea></div>Using utility variants
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:fs-[value]md:fs-[value]lg:fs-[value]xxl:fs-[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:fs-[value]