.divider { border-bottom: 1px solid black; } <p class="divided"> <span>Content 1</span> <span class="divider"></span> <span>Content 2</span> </p>