I would like to have (preferrably in jQuery) regular text input box which can be clicked and dragged by its right-bottom corner (e.g. like textareas have in Chrome) and resized
I made a variation on kay's answer, using the pseudo element ::after
instead of a second span. in short:
.resizable-input { ... }
.resizable-input > input { ... }
.resizable-input::after { ... }
/* the last one used to be .resizable-input > span { ... } */
with html just:
See full code and see it in action here: https://jsfiddle.net/ElMoonLite/qh703tbe/
Also added input { padding-right: 0.5em; }
so you can still resize it if it's value is full of text.
Still seems to work in 2019 in Chrome.
In Edge resize does not seem to work (but otherwise looks ok (graceful degradation)). Haven't tested other browsers yet.