79832430

Date: 2025-11-28 09:52:12
Score: 0.5
Natty:
Report link

CSS has now come with the "field-sizing" property.

input {
  field-sizing: content;
}

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/field-sizing

Still experimental by november 2025, but it seems to work very well.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Jan Sverre