JSFiddle - React, Tailwind, and code Playground

by David Thomas

HTML

<div id="left">content</div>
<div id="right">content</div>

CSS

div {
    display: inline-block;
    position: relative;
}

div + div {
    padding-left: 0.3em;
}

div + div::before {
    content: '';
    border-left: 2px solid #000;
    position: absolute;
    height: 50%;
    left: 0;
    top: 25%;
}