List

CSS List

Add a pipe separator after items in an unordered list unless that item is the last on a line

CSS

li + li::before {
    content: " | ";
}

/* or */

.specific-separator-list li + li::before {
    content: " | ";
}

HTML

<ul class="specific-separator-list">
    <li>Dogs</li>
    <li>Cats</li>
    <li>Birds</li>
</ul>

Reference