A vertical timeline
A line with dots, built with borders and ::before.
CSS · A vertical timelineIntermediate
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid #cbd5e1; }
.timeline li { position: relative; padding-bottom: 1.5rem; }
.timeline li::before {
content: "";
position: absolute;
left: calc(-1.5rem - 7px);
top: 0.35rem;
width: 12px;
height: 12px;
border-radius: 50%;
background: #2563eb;
box-shadow: 0 0 0 3px #fff;
}
.timeline time { font-size: 0.8rem; color: #6b7280; }timelineborderpseudo-elementlist