I'm attempting to create something similar to this:
https://i.sstatic.net/lXELt.png
However, this is the result I've been able to achieve.
https://i.sstatic.net/Ieya0.png
Can you assist me in achieving the desired outcome?
UPDATE:
The issue resolves if I eliminate the bootstrap.css dependency. How do I make it function with bootstrap?
CodePen (add bootstrap.css in the settings to see the problem)
.time-slice {
display: flex;
align-items: stretch;
}
.time-slice > * {
padding: 20px;
}
.circle {
width: 16px;
height: 16px;
background: #ffffff;
border-radius: 32px;
display: block;
border: 2px solid #1A87B9;
}
.circle-wrap {
position: absolute;
}
.circle-wrap > .circle {
position: relative;
left: -30px;
}
.date-time {
flex-shrink: 0;
flex-basis: 60px;
}
.date,
.time {
max-width: 90px;
color: #999999;
font-size: 13px;
margin-top: 0;
margin-bottom: 10px;
}
.point-title {
border-left: 2px solid #1A87B9;
}
<div id="ticketDetails">
<h1>Details</h1>
<div class="time-slice row">
<div class="date-time">
<p class="time">10h 30min</p>
<p class="date"> </p>
</div>
<div class="circle-wrap">
<div class="circle"></div>
</div>
<div class="point-title">
<span>
<b>Amsterdam (Schiphol)</b>
</span>
</div>
</div>
<div class="time-slice row">
<div class="date-time">
<p class="date">Fri 28 Aug</p>
<p class="time">20:00</p>
</div>
<div class="circle-wrap">
<div class="circle"></div>
</div>
<div class="point-title">
<span>
<b>Manchester (MAN)</b>
</span>
</div>
</div>
</div>