嗨,请看我的html代码。减少不透明度的元素部分是去除div
$(function() {
$(".new-img").draggable();
});
.all{
background-color:blue;
}
.new-multiple{
width:400px !important;
height:400px !important;
background:white;
border:2px solid red;
overflow:visible;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet"/>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div class="all">
<div class="new-multiple">
<div class="new-img">
<img src="https://launchbit.com/carbon-i/6599-ToptalCarbon.jpg">
</div>
</div>
</div>
https://jsfiddle.net/vd11qyzv/23/
在这里,我想减少图像部分这是会在div [不用于全不透明度图像之外的不透明度,但对于部分外出的。新 - 多个div]。
可能吗?请指教 。
我会检查这个。谢谢你的朋友 –
谢谢你的朋友。这是很好的技巧 –
不用客气;) –