CSS · Properties — CSS Basic User Interface
field-sizing
The CSS field-sizing property. Initial value: fixed. Not inherited.
Syntax
field-sizing: content | fixedExample
Try it
Notes
Media: visual. Applies to: elementsWithDefaultPreferredSize. Computed value: asSpecified.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.