我正在将我的网站从固定布局转换为响应式布局并使用 getskeleton 框架。http://jsfiddle.net/L2q750xw/1/
<div class="one-third column">
<h4>Basic Page</h4>
<div class="home-box-wrap"><img class="u-max-full-width" src="http://www.aroundtheworldin80jobs.com/wp-content/uploads/2013/09/2013-berlin.jpg"></div>
<p>This index.html page is a placeholder with the CSS, font and favicon. It's just waiting for you to add some content! If you need some help hit up the <a href="http://www.getskeleton.com">Skeleton documentation</a>.</p>
</div>
</div>
}.home-box-wrap{
width:100%;
height:0%;
border:2px solid #ff00ff;
border-radius: 5px;
padding:0px;
}
.u-max-full-width {
max-width: 100%;
box-sizing: border-box; }
除了图像下方的空白之外,所有工作都按预期工作,我看不出这是什么原因,并尝试删除填充并调整框高度,它应该都被规范化。
谢谢