Positioning and overlaying image on another image

前端 未结 4 705
挽巷
挽巷 2020-12-24 12:35

See how the tiny Facebook icon is positioned in the lower right-hand corner over another image?

\"enter

4条回答
  •  一生所求
    2020-12-24 13:26

    You can use css to solve the problem.

    div {
      position: relative;
      display: inline;
    }
    .imtip {
      position: absolute;
      bottom: 0;
      right: 0;
    }

    Basically, I've done more or less what ZDYN said, just that you need to include a display: inline in the container otherwise the container div spans the whole width.

提交回复
热议问题