下午好!有一个块,其中postion absolute图片是通过手段叠加的。帮助仅使一张图像透明。我试过这个那个,一切对我来说都变得透明了......
分配的 ID 和类,什么都没有出来,我完全不明白它是怎么回事。
.browseBlock {
position: relative;
width: 300px;
height: 300px;
}
.browseBlock img {
width: 300px;
height: 300px;
}
.ono {
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
}
.ono img {
width: 100px;
height: 100px;
}
<div class="browseBlock">
<div class="ono">
<img src="http://logotipka.ru/images/stories/skachat_img/icons/icons4.jpg" title="" alt="">
</div>
<img style="opacity: 0.5" class="glavn" src="http://logotipka.ru/images/stories/Skachat_new_year/new_year55.jpg" title="" alt="">
</div>
如果你的意思是透明
然后添加到