# Field Sizing

Set how form fields size themselves based on content.

**Newly available.** This feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Chrome 123 · Edge 123 · Firefox 152 · Safari 26.2

| Class | Properties | Value |
|-------|------------|-------|
| `fs:f` | field-sizing | `fixed` |
| `fs:c` | field-sizing | `content` |

### Media Queries

Prefix a class with a breakpoint to apply it from that width up.

| Class | Properties | Value |
|-------|------------|-------|
| `fs:f` | field-sizing | `fixed` |
| `fs:c` | field-sizing | `content` |

### Pseudo Classes

Prefix a class with a state to apply it only while that state matches.

| Class | Properties | Value |
|-------|------------|-------|
| `fs:f` | field-sizing | `fixed` |
| `fs:c` | field-sizing | `content` |