javascript 用鼠标调整大小
我想让我的用户用鼠标从 4 个角或 4 个边调整 div 的大小。
我希望只使用 Javascript,不要使用 JQ 库...
右下角的一个微小的调整大小图像将是一个优点!
谢谢
I'd like to let my users resize a div from the 4 corners or the 4 sides with the mouse.
I whish to use just Javascript, no JQ library please...
A tiny little resize image in the right bottom corner would be a plus!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 CSS3
resize: Both;
,如下所示:http://dhtmlexamples.com/2011/01/20/creating-a-user-ressized-div-tag-using-css3/Use CSS3
resize: both;
, as seen here: http://dhtmlexamples.com/2011/01/20/creating-a-user-resizable-div-tag-using-css3/