私が追加したこの改行は、私が望むところに座っていません。私はそれを下のヘッダーとイメージの間に集中させたいと思う。より自然に見えるようにhrタグを配置
私は余白を試しました:20px;それは私が欲しくないページの下に画像を押し込んだ。私はちょうど次元を保ち、その間に中心を置きたいと思う。
あなたが探している可能性が最も高いCSSは、CSSページの一番下にあります。
/* PROCESS **********/
#process {
text-align: center;
margin-bottom: 25px;
}
#process-span {
position: absolute;
bottom: 0;
right: 0;
}
#process img {
display: inline;
height: 100%;
width: 100%;
-webkit-border-radius: 10%;
-moz-border-radius: 10%;
box-shadow: 1px 3px 1px 1px;
}
#process p {
z-index: 100;
position: absolute;
font-weight: bold;
top: 235px;
color: white;
font-size: small;
padding: 10px;
margin-right: 15px;
}
#process h4 {
margin-top: 25px;
}
#process .btn-go {
margin-bottom: 500px;
background-color: #4AA0D5;
color: #fff;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
text-decoration: none;
padding: 10px 10px;
border-radius: 10px;
border: 2px white solid;
}
#process .btn-go:hover,
#process .btn-go:focus {
color: #4AA0D5;
border: 2px #4AA0D5 solid !important;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
-webkit-border-radius: 0%;
-moz-border-radius: 0%;
background-color: #fff;
}
#process .bottom-line {
width: 50px;
}
<section id="process">
<div class="container">
<h2>How the Process Works</h2>
<div class="lead2">
<hr class="bottom-line">
</div>
<!-- lead2 -->
<div class="row">
<div class="col-sm-4">
<img src="img/image2.png" alt="Design">
<span><p>Reach out to me and describe the type of project you want & audience its for.</p></span>
</div>
<!-- col -->
<div class="col-sm-4">
<img src="img/image1.png" alt="Relax">
<p>Sit back and relax! Watch your project grow with routine progress reports & quick-to-respond communication.</p>
</div>
<!-- col -->
<div class="col-sm-4">
<img src="img/image3.png" alt="Finish">
<p>The project will be turned into you at the agreed time and considered completed only when you are
<bold>100%</bold> satisfied.</p>
</div>
<!-- col -->
</div>
<!-- row -->
</div>
<!-- container -->
<h4><a href="#contact" class="btn-go">Let's Do It!</a></h4>
</section>
<!-- project-features -->
ありがとうございます!作品 – Evanjbraun