嗨,請看我的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]。
可能嗎?請指教 。
我會檢查這個。謝謝你的朋友 –
謝謝你的朋友。這是很好的技巧 –
不用客氣;) –