+ 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 ?

15th Mar 2021, 5:23 PM
Ulysse Cordier
Ulysse Cordier - avatar
4 Antworten
+ 2
div { resize: both; <! - - or resize: vertically or resize: horizontally--> overflow: auto; } https://www.w3schools.com/cssref/css3_pr_resize.asp
16th Mar 2021, 9:11 AM
iTech
iTech - avatar
+ 1
No, not exactly. You will understand better with this photo maybe: https://drive.google.com/file/d/1Lz2l_FTFFEiVavlEE2Sa7J2i7TgRhLm6/view?usp=sharing
15th Mar 2021, 5:49 PM
Ulysse Cordier
Ulysse Cordier - avatar
+ 1
Exact ! Thank you very much ! It saves me.
16th Mar 2021, 5:09 PM
Ulysse Cordier
Ulysse Cordier - avatar
0
do you mean make the button bigger or smaller onclick or onhover, right?
15th Mar 2021, 5:33 PM
iTech
iTech - avatar