css:
.imgbox{position: relative;text-align: center;}
.logo{position: absolute;left: 0px;bottom: 0px;text-align: center;width: 100%;}
html:
<div class="imgbox" >
![]($!img)
<div class="logo">
![]($!logo)
</div>
</div>
css:
.imgbox{position: relative;text-align: center;}
.logo{position: absolute;left: 0px;bottom: 0px;text-align: center;width: 100%;}
html:
<div class="imgbox" >
![]($!img)
<div class="logo">
![]($!logo)
</div>
</div>
本文标题:让一张图片显示在另一张图片之上
本文链接:https://www.haomeiwen.com/subject/itihxxtx.html
网友评论