所以基本上问题在标题中。当我降低我的屏幕尺寸时,列下降,但开始与下面的行重叠。当在较小的屏幕上观看时,自举行重叠
我只是想知道是否有什么明显的东西我失踪。 我似乎无法找到适合我的解决方案。
见截图和代码如下...
#section-headings {
\t font-size: 44px;
}
h1 {
\t text-align: center;
\t color: #ffffff !important;
}
h2 {
\t text-align: center;
}
#tag-line {
\t color: #ffffff !important;
}
#main-header {
\t margin: 0;
}
.jumbotron {
\t background-image: url(../images/alaska-landscape.jpg);
\t background-size: cover;
\t height: 100vh;
\t width: 100%;
\t margin: 0;
}
#services {
\t background-color: #fC99B0;
\t height: 100vh;
\t width: 100%;
\t margin: 0;
}
#services-col {
\t padding: 80px;
}
#general-text {
\t text-align: justify;
}
#about {
\t background-color: #8589FC;
\t height: 100vh;
\t width: 100%;
\t margin: 0;
}
#previous-work {
\t background-color: #28292D;
\t height: 100vh;
\t width: 100%;
\t margin: 0;
}
.col-md-6, .col-sm-6 {
\t border-bottom: 0;
\t margin-bottom: 0;
\t margin: 0;
}
#glyphicon-image {
\t display: block;
margin: 0 auto;
}
<!-- Section 2 Services -->
<div id="services" class="container">
<div id="services-row" class="row">
<h1 id="section-headings">services</h1>
<div id="services-col" class="col-md-6 col-sm-6">
<h2>heading 1</h2>
<p id="general-text">paragraph text 1</p>
<img id="glyphicon-image" src="images/bar-chart.png" alt="ux-glyphicon" style="width:128px;height:128px;">
</div>
<div id="services-col" class="col-md-6 col-sm-6">
<h2>heading 2</h2>
<p id="general-text">paragraph text 2</p>
<img id="glyphicon-image" src="images/domain-registration.png" alt="ux-glyphicon" style="width:128px;height:128px;">
</div>
</div>
</div>
<!-- Section 3 About -->
<div id="about" class="container">
<div id="about-row" class="row">
<h1 id="section-headings">about site</h1>
<div class="col-md-6 col-sm-6">
<img src="..." alt="AboutImage">
</div>
<div class="col-sm-6">
<p>Add the about text here and the about image over there <---</p>
</div>
</div>
</div>
我喜欢帮助一个UX顾问讽刺做自己的网站:) – Salketer