Loading video...
Video Failed to Load
auto-growing <textarea> without JavaScript! CSS is getting field-sizing: content; to size inputs by their contents. Dropped in Chrome Canary today, demo here:
203,517 views • 2 years ago •via X (Twitter)
9 Comments

Wow Wes I really like this video format. Super clear and mobile friendly. 👍

thanks a ton! Been about a year of playing with different layouts. It lends itself well to quick little tips without a ton of code

yeah! @stolinski used the popover API for do them on our site - and then I just used links

And people say CSS isn’t a real language. It’s magical

Impressive turnaround time there 😁 Also available in Polypane 17, released today 😎

Most awesome new css feature I've seen in a minute.

Woah, that would be so awesome. I had to deal with input auto-sizing a few days ago, and there literally was just horrible ways of doing it.

Nice! Hassle to do with JS. Could this, instead of introducing a new property, also work with: width: fit-content; height: fit-content; Haven’t tested but seems it should do the same?

Apparently it was considered, but not the exact same thing:

