.timeline-with-icons { border-left: 1px solid hsl(0, 0%, 90%); position: relative; list-style: none; } .timeline-with-icons .timeline-item { position: relative; } .timeline-with-icons .timeline-item:after { position: absolute; display: block; top: 0; } .timeline-with-icons .timeline-icon { position: absolute; left: -48px; background-color: var(--dark-3); border-radius: 50%; height: 31px; width: 31px; display: flex; align-items: center; justify-content: center; }