Field-sizing just works! | Polypane
January 31, 2024
field-sizing is wild. It’s a new CSS property that makes input and textarea automatically scale to the size of their content.
Little by little CSS chips away at the sort of challenges we’ve long had to get out our JavaScript for. Here Kilian Valkhof looks at simple addition to CSS that solves one of those challenges.