@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
font-family: lato;
}
.section-header, .steps-header, .steps-name {
color: #3498db;
font-weight: 400;
font-size: 1.4em;
}
.steps-header {
margin-bottom: 20px;
text-align: center;
}
.steps-timeline {
outline: 1px dashed rgba(255, 0, 0, 0);
}
.step-box {
position: relative;
}
.border-info {
position: absolute;
top: -12px;
right: -41%;
}
@media screen and (max-width: 500px) {
.steps-timeline {
border-left: 2px solid #3498db;
margin-left: 25px;
}
}
@media screen and (min-width: 500px) {
.steps-timeline {
border-top: 2px solid #3498db;
padding-top: 20px;
margin-top: 40px;
margin-left: 16.65%;
margin-right: 16.65%;
}
}
.steps-timeline:after {
content: "";
display: table;
clear: both;
}
.steps-one, .steps-two, .steps-three {
outline: 1px dashed rgba(0, 128, 0, 0);
}
@media screen and (max-width: 500px) {
.steps-one, .steps-two, .steps-three {
margin-left: -25px;
}
}
@media screen and (min-width: 500px) {
.steps-one, .steps-two, .steps-three {
float: left;
width: 33%;
margin-top: -50px;
}
}
@media screen and (max-width: 500px) {
.steps-one, .steps-two {
padding-bottom: 40px;
}
}
@media screen and (min-width: 500px) {
.steps-one {
margin-left: -16.65%;
margin-right: 16.65%;
}
}
@media screen and (max-width: 500px) {
.steps-three {
margin-bottom: -100%;
}
}
@media screen and (min-width: 500px) {
.steps-three {
margin-left: 16.65%;
margin-right: -16.65%;
}
}
.steps-img {
display: block;
margin: auto;
width: 50px;
height: 50px;
border-radius: 50%;
border: 2px solid #3498db;
}
@media screen and (max-width: 500px) {
.steps-img {
float: left;
margin-right: 20px;
}
}
.steps-name, .steps-description {
margin: 0;
}
@media screen and (min-width: 500px) {
.steps-name {
text-align: center;
}
}
steps-description {
overflow: hidden;
}
@media screen and (min-width: 500px) {
steps-description {
text-align: center;
}
}
<!-- STEPS -->
<section id="Steps" class="steps-section">
<div class="steps-timeline">
<div class="steps-one step-box">
<img class="steps-img" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyznUM3fo7JW5RskOyxZqC0sGMtn6AdNB8Y3lVey8cdfl0ZnmW" alt="" />
<h3 class="steps-name">
Jane Smith
</h3>
<p class="steps-description">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. It has been the industry's standard dummy text ever since the 1500s.
</p>
<div class="border-info">
<p>Valued Client</p>
</div>
</div>
<div class="steps-two step-box">
<img class="steps-img" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyznUM3fo7JW5RskOyxZqC0sGMtn6AdNB8Y3lVey8cdfl0ZnmW" alt="" />
<h3 class="steps-name">
Jane Smith
</h3>
<p class="steps-description">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. It has been the industry's standard dummy text ever since the 1500s.
</p>
<div class="border-info">
<p>Valued Client</p>
</div>
</div>
<div class="steps-three step-box">
<img class="steps-img" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyznUM3fo7JW5RskOyxZqC0sGMtn6AdNB8Y3lVey8cdfl0ZnmW" alt="" />
<h3 class="steps-name">
Jane Smith
</h3>
<p class="steps-description">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. It has been the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div><!-- /.steps-timeline -->
</section>