Step 1: open a post
Step 2: go to html view
Step 3 : paste below code.
<div class="event">
<div class="event-date">Nov 02</div>
<h2>The Planning Session</h2>
<div class="timeline-content">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aperiam
dolore iste similique mollitia quidem vitae cupiditate? Sint sunt
vero possimus.
</p>
</div>
</div>
<div class="event">
<div class="event-date">Nov 06</div>
<h2>Designing</h2>
<div class="timeline-content">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aperiam
dolore iste similique mollitia quidem vitae cupiditate? Sint sunt
vero possimus.
</p>
</div>
</div>
<div class="event">
<div class="event-date">Nov 15</div>
<h2>Testing</h2>
<div class="timeline-content">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aperiam
dolore iste similique mollitia quidem vitae cupiditate? Sint sunt
vero possimus.
</p>
</div>
</div>
<div class="event">
<div class="event-date">Nov 17</div>
<h2>Deploying The Website</h2>
<div class="timeline-content">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aperiam
dolore iste similique mollitia quidem vitae cupiditate? Sint sunt
vero possimus.
</p>
</div>
</div>
</div>
.timeline-container {
font-family: "Roboto", sans-serif;
max-width: 500px;
margin: 0 auto;
border-left: 4px solid #222;
padding-left: 25px;
}
.timeline-container h2 {
font-family: "Pacifico", cursive;
font-size: 32px;
margin: 0;
color: #00272b;
border-bottom: 1px solid #eee;
}
.timeline-container .event {
box-shadow: 0px 3px 6px -2px rgba(0, 0, 0, 0.2);
padding: 32px;
margin: 48px 0;
line-height: 2;
cursor: pointer;
position: relative;
transition: all 500ms;
}
.timeline-container .event::before {
content: "";
width: 14px;
height: 14px;
border: 2px solid #000;
position: absolute;
left: -36px;
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
background: #fff;
transition: all 500ms;
}
.timeline-container .event:hover {
box-shadow: 1px 6px 16px -1px rgba(0, 0, 0, 0.1);
}
.timeline-container .event:hover::before {
background: red;
}
.timeline-container .event .event-date {
position: absolute;
left: -95px;
top: 50%;
transform: translateY(-50%);
font-weight: bold;
}
@media (max-width: 700px) {
.timeline-container {
max-width: 100%;
margin-left: 8px;
}
.timeline-container .event .event-date {
position: static;
margin-bottom: -20px;
}
}