Html
    Css
    Js

    
                        
 .box {
	width:240px;
	height:180px;
	background:red;
	position:absolute;
	left:10px;
	top:10px
}
.box:hover {
	cursor:move;
}
.container-box {
	width:800px;
	height:500px;
	border:1px solid blue;
	margin:0 auto;
	position:relative;
}
.box-dot {
	width:5px;
	height:5px;
	background:green;
	position:absolute;
	cursor:se-resize;
	right:0;
	bottom:0;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

js拖拽放大功能(原创)

更新时间:2021-02-08 23:35:02

0