我不确定问题是否清晰明了,也许查看网站可能会有所帮助。
http://settlecars.com
当屏幕大小被调整(或在小屏设备上查看,如:智能手机)时,我希望右侧的三辆汽车图像与jumbotron保持相同的高度。我该怎么做?
目前,在网站这个部分中,我已经放置了以下的html代码:
目前,在网站这个部分中,我已经放置了以下的html代码:
<div class="jumbotron text-left">
<h1>Liverpool Vehicle Hire</h1>
<p>The one stop shop for all your private hire needs <br> in the Sefton & Liverpool areas.</p>
<img src="header.png" height="357px" align="right" style="position:absolute; top: 30px; right:0px; z-index:0">
</div>
.jumbotron
设置了position:relative;
后,溢出才更像是这种情况下的安全网 :) - Frits