+ 1
Div which can extend: how to do?
Hello, I would like to make a div which contains a text box (contenteditable) and which can be extended by user. I can't find the word and maybe that's why I can't find a tutorial. In fact I would like to make an area that can grow smaller, you know with little arrows like for windows on a computer. Do you know how to do it ?
4 Antworten
+ 2
div {
resize: both;
<! - - or resize: vertically or resize: horizontally-->
overflow: auto;
}
https://www.w3schools.com/cssref/css3_pr_resize.asp
+ 1
No, not exactly.
You will understand better with this photo maybe:
https://drive.google.com/file/d/1Lz2l_FTFFEiVavlEE2Sa7J2i7TgRhLm6/view?usp=sharing
+ 1
Exact ! Thank you very much ! It saves me.
0
do you mean make the button bigger or smaller onclick or onhover, right?