Loading video...

Video Failed to Load

Go Home

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

Pacorro's profile picture
Pacorro2 years ago

that border thing detail

Kaspar Püüding's profile picture
Kaspar Püüding2 years ago

Wow, only multi-line truncation left and the web is perfect?

Jon Sutherland's profile picture
Jon Sutherland2 years ago

Will max height work for it to then scroll?

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

Yep – You can constrain it with a max number of lines and then set up the scrollbar for it 🤙

Kyle TechSquidTV's profile picture
Kyle TechSquidTV2 years ago

That's magic.

Christian Williams's profile picture
Christian Williams2 years ago

much needed, I have wrote this a million types in js

Justin's profile picture
Justin2 years ago

I need this now

Jikku Jose's profile picture
Jikku Jose2 years ago

I was thinking it requires JS!

Bug Buster 🐞 CLONE's profile picture
Bug Buster 🐞 CLONE2 years ago

How did you create that border effect, @jh3yy ?

Bug Buster 🐞 CLONE's profile picture
Bug Buster 🐞 CLONE2 years ago

Do you have a YouTube channel?

Related Videos