monks/field_sizing
{{seecompattable}}
The field-sizing CSS property enables you to control the sizing behavior of elements that are given a default preferred size, such as form control elements. This property enables you to override the default sizing behavior, allowing form controls to adjust in size to fit their contents.
This property is typically used to style text {{htmlelement(“input”)}} and {{htmlelement(“textarea”)}} elements to allow them to shrinkwrap their content as well as grow when more text is entered into the form control.
Values
pub const content: #(String, String)
- : Allows the element to adjust its size to fit its contents.
pub const fixed: #(String, String)
- : Sets a fixed size for the element. This is the default value.
pub const revert_layer: #(String, String)