JSFiddle - React, Tailwind, and code Playground

by veger

HTML

<ul>
    <li>List Item 1</li>
    <li>List Item 2</li>
    <li>List Item 3</li>
    <li class="divider">List Item 4</li>
    <li>List Item 5</li>
    <li>etc.</li>
</ul>

CSS

.divider {
    color: green;
}

.divider:before {
    color: red;
    content:test;
}

.divider:after {
    color: blue;
    content:test2;
}