JSFiddle - React, Tailwind, and code Playground
HTML
<div class="sidebar default">
<ul>
<li id="categories-10" class="widget widget_categories">asdasd
<ul>
<li id="categories-10" class="widget widget_categories">asdasd</li>
</ul>
</li>
</ul>
</div>
CSS
* {
margin: 0;
padding: 0;
}
.sidebar > ul > li {
background: none;
}
li {
padding-left: 20px;
list-style: none;
background: url('http://www.jenst.se/images/normal.png') repeat-y 10px 0;
color: #333;
font-family: Arial;
font-size: 13px;
line-height: 22px;
}
li a {
color: #555;
border-left: 1px solid red;
}
li:last-child > a {
color: #555;
border: none;
}
li:last-child {
background: url('http://www.jenst.se/images/lastchild.png') no-repeat 10px 0px;
}