正在加载视频...
视频加载失败
We're getting closer 🤏 input, textarea { field-sizing: content; } Auto-resizing text inputs with one line of CSS 🚀
10 条评论

Pacorro2 年前
that border thing detail

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

Jon Sutherland2 年前
Will max height work for it to then scroll?

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

Kyle TechSquidTV2 年前
That's magic.

Christian Williams2 年前
much needed, I have wrote this a million types in js

Justin2 年前
I need this now

Jikku Jose2 年前
I was thinking it requires JS!

Bug Buster 🐞 CLONE2 年前
How did you create that border effect, @jh3yy ?

Bug Buster 🐞 CLONE2 年前
Do you have a YouTube channel?
