field-sizing
The field-sizing property specifies whether form fields expand to fit their content.
Formal Syntax
fixed | content
JavaScript Access
// Access via element.style
element.style.fieldSizing = 'fixed';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| field-sizing | 123 | โ | 26.2 | 123 |
| content | 123 | โ | 26.2 | 123 |
| fixed | 123 | โ | 26.2 | 123 |
Related Properties
- accent-color
- appearance
- caret-color
- cursor
- pointer-events
- scrollbar-color
- scrollbar-gutter
- scrollbar-width
- touch-action
- user-select
- caret-animation ๐งช
- caret-shape ๐งช
- interactivity ๐งช
- interest-delay ๐งช
- interest-delay-end ๐งช
- interest-delay-start ๐งช
- box-snap ๐ง
- caret ๐ง
- event-trigger ๐ง
- event-trigger-name ๐ง
- event-trigger-source ๐ง
- input-security ๐ง
- line-snap ๐ง
- nav-down ๐ง
- nav-left ๐ง
- nav-right ๐ง
- nav-up ๐ง
- pointer-timeline ๐ง
- pointer-timeline-axis ๐ง
- pointer-timeline-name ๐ง
- slider-orientation ๐ง
- spatial-navigation-action ๐ง
- spatial-navigation-contain ๐ง
- spatial-navigation-function ๐ง