CSS isn't magic

Share this post

Please, stop using resize: none

cssisntmagic.substack.com

Please, stop using resize: none

Stas Melnikov
Feb 1, 2023
Share
Share this post

Please, stop using resize: none

cssisntmagic.substack.com
Code#1 defines resize: none via the .textarea selector. As a result, typing data is hard for me because I can't increase the textarea height. Code#2 defines resize: vertical, min-height: 5rem, max-height: 15rem via the .textarea selector. It allows me to increase the height for comfortable typing.

We used to use resize: none to disable textarea resizing. We end up textareas are terrible for typing datašŸ˜’ resize: vertical and limit height resizing makes the same without discomfortšŸ’”

P.S.
ā¤ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten

Share
Share this post

Please, stop using resize: none

cssisntmagic.substack.com
Comments
Top
New
Community

No posts

Ready for more?

Ā© 2023 Stas Melnikov
Privacy āˆ™ Terms āˆ™ Collection notice
Start WritingGet the app
SubstackĀ is the home for great writing