Loading video...
Video Failed to Load
We're getting closer 🤏 input, textarea { field-sizing: content; } Auto-resizing text inputs with one line of CSS 🚀
207,921 views • 2 years ago •via X (Twitter)
10 Comments

Pacorro2 years ago
that border thing detail

Kaspar Püüding2 years ago
Wow, only multi-line truncation left and the web is perfect?

Jon Sutherland2 years ago
Will max height work for it to then scroll?

jhey ▲🐻🎈2 years ago
Yep – You can constrain it with a max number of lines and then set up the scrollbar for it 🤙

Kyle TechSquidTV2 years ago
That's magic.

Christian Williams2 years ago
much needed, I have wrote this a million types in js

Justin2 years ago
I need this now

Jikku Jose2 years ago
I was thinking it requires JS!

Bug Buster 🐞 CLONE2 years ago
How did you create that border effect, @jh3yy ?

Bug Buster 🐞 CLONE2 years ago
Do you have a YouTube channel?
