Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I'm trying to make my input field resizable, but the code I found doesn't work anymore.
#mededeling { resize: both; }
Does anybody know the most recent working code?
<textarea rows="4" cols="50"></textarea>
what about using textarea instead of input? 1row height textarea looks just like input type[text] and can be submitted in form:
textarea name="" id="" cols="30" rows="1"
Add a comment
<style> input { resize: horizontal; width: 200px; } input:active { width: auto; } input:focus { min-width: 200px; } </style>
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
<textarea rows="4" cols="50"></textarea>