Html 如何将此图像固定在底部中间?
我有这个网站: 我把图片放得更清楚明白他们想做什么 代码HTML:Html 如何将此图像固定在底部中间?,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我有这个网站: 我把图片放得更清楚明白他们想做什么 代码HTML: <div class="col-md-12 text-center"> <img src="wp-content/uploads/2015/10/scroll.png"> </div> 在那个位置有一个位置。。。我用bootstrap做了这些事情,不知怎的,你知道如何解决这个问题吗 无论分辨率如何,此图片必须始终存在 提前谢谢 试试下面的方法
<div class="col-md-12 text-center">
<img src="wp-content/uploads/2015/10/scroll.png">
</div>
在那个位置有一个位置。。。我用bootstrap做了这些事情,不知怎的,你知道如何解决这个问题吗
无论分辨率如何,此图片必须始终存在
提前谢谢 试试下面的方法
添加相对于容器的位置
.about-content-top{
position:relative;
}
将绝对位置添加到图像,并将底部设置为0
<div style="position: absolute; bottom: 0px;" class="col-md-12 text-center">
<img src="wp-content/uploads/2015/10/scroll.png">
</div>
尝试以下操作
添加相对于容器的位置
.about-content-top{
position:relative;
}
将绝对位置添加到图像,并将底部设置为0
<div style="position: absolute; bottom: 0px;" class="col-md-12 text-center">
<img src="wp-content/uploads/2015/10/scroll.png">
</div>
您的意思是希望它与图像底部对齐吗?是的,您理解得很好您的意思是希望它与图像底部对齐吗?是的,您理解得很好