自由拖拽,鼠标滚轴缩放缩小
html 部分
li {
list-style:none;
}
.meaasge_contanier {
width:800px;
height:600px;
margin:100px auto 0;
background-color:sienna;
position:relative;
overflow:hidden;
border:3px solid #a25124;
border-radius:10px;
box-shadow:3px 3px 5px #a25124;
}
.meaasge_contanier .upload {
width:120px;
height:40px;
position:absolute;
top:5px;
left:5px;
text-align:center;
}
.meaasge_contanier .upload .plus {
width:100%;
height:100%;
text-align:center;
line-height:40px;
position:absolute;
background-color:#eee;
cursor:pointer;
border-radius:5px;
}
.meaasge_contanier .upload input {
width:150px;
overflow:hidden;
}
.meaasge_contanier .picture_list .item {
width:100px;
position:absolute;
box-shadow:2px 2px 3px rgba(0, 0, 0, 0.3);
cursor:move;
}
.meaasge_contanier .picture_list .item img {
width:100%;
}
.meaasge_contanier .picture_list .item .delete {
position:absolute;
width:20px;
height:20px;
line-height:17px;
text-align:center;
border-radius:50%;
background-color:#909399;
color:#fff;
font-size:12px;
top: -5px;
right: -5px;
display:none;
cursor:default;
}
.scale {
width:10px;
height:10px;
overflow:hidden;
cursor:se-resize;
position:absolute;
right:0;
bottom:0;
background-color:rgb(122, 191, 238);
}
- xxx12345671111111111111
1111189