Stopping content from getting pushed down due to overlap in Bootstrap

前端 未结 2 1452
孤城傲影
孤城傲影 2021-01-28 11:53

In a previous question I was able to allow an image in one row overlap the contents below it. However, I realized that now the text and other content that is being overlapped is

2条回答
  •  梦毁少年i
    2021-01-28 12:31

    If you add the following CSS, the image should float overtop without pushing any contents down.

    #overlap .thumbnail {
      position: absolute;
      z-index: 100;
    }
    

    Updated: http://www.bootply.com/120760

提交回复
热议问题