正在加载视频...

视频加载失败

We're getting closer 🤏 input, textarea { field-sizing: content; } Auto-resizing text inputs with one line of CSS 🚀

204,378 次观看 • 2 年前 •via X (Twitter)

10 条评论

Pacorro 的头像
Pacorro2 年前

that border thing detail

Kaspar Püüding 的头像
Kaspar Püüding2 年前

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

Jon Sutherland 的头像
Jon Sutherland2 年前

Will max height work for it to then scroll?

jhey ▲🐻🎈 的头像
jhey ▲🐻🎈2 年前

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

Kyle TechSquidTV 的头像
Kyle TechSquidTV2 年前

That's magic.

Christian Williams 的头像
Christian Williams2 年前

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

Justin 的头像
Justin2 年前

I need this now

Jikku Jose 的头像
Jikku Jose2 年前

I was thinking it requires JS!

Bug Buster 🐞 CLONE 的头像
Bug Buster 🐞 CLONE2 年前

How did you create that border effect, @jh3yy ?

Bug Buster 🐞 CLONE 的头像
Bug Buster 🐞 CLONE2 年前

Do you have a YouTube channel?

相关视频