Skip to main content

Field Sizing

Utilities for controlling the sizing behavior of form fields.

CSS Property:field-sizing
Classes:2

Field Sizing Classes

ClassCSS
field-sizing-contentfield-sizing: content;
field-sizing-fixedfield-sizing: fixed;

Arbitrary Values

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

[field-sizing:value]

Responsive Variants

Apply field sizing utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:field-sizing-content
768px+md:md:field-sizing-content
1024px+lg:lg:field-sizing-content
1280px+xl:xl:field-sizing-content
1536px+2xl:2xl:field-sizing-content