美文网首页
让一张图片显示在另一张图片之上

让一张图片显示在另一张图片之上

作者: 虫yu | 来源:发表于2017-05-15 17:49 被阅读36次

    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