How can I resize a DIV by dragging just ONE side of it?

前端 未结 9 2185
后悔当初
后悔当初 2020-12-12 17:38

Let me be more specific... I don\'t want the DIV to resize WHILE I\'m dragging. I want to drag it out (and maybe a vertical line follows my cursor) and when I release, it re

9条回答
  •  有刺的猬
    2020-12-12 17:56

    You can find a resizable div here, which provides that feedback but only resizes once you release.

    http://jqueryui.com/demos/resizable/#visual-feedback

提交回复
热议问题