JSFiddle - React, Tailwind, and code Playground

by dom1n1k

HTML

<ul class="tags">
    <li><a href="#">раз-два</a></li>
    <li><a href="#">три</a></li>
    <li><a href="#">четыре</a></li>
    <li><a href="#">пять</a></li>
    <li><a href="#">вышел</a></li>
    <li><a href="#">зайчик</a></li>
    <li><a href="#">погулять</a></li>
</ul>

CSS

ul.tags {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    *zoom: 1;
}
ul.tags li {
    list-style: none;
    float: left;
    margin: 0 10px 7px 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 22px;
    height: 22px;
    color: white;
    background-color: #006d96;
    
    background-position: top left;
    
}
ul.tags a {
    position: relative;
    display: block;
    padding: 0 9px 0 7px;
    text-decoration: none;
    color: #eeeeee;
}
ul.tags a:hover {
    color: white;
}
ul.tags li:after {
    content: '';
    background-image: url('http://artgorbunov.ru/bb/soviet/20120830/arrow.png');
    background-repeat: no-repeat;
    position: absolute;
    width: 50%;
    height: 22px;
    top: 0;
}
ul.tags li:after {
    background-position: top right;
    right: 0px;
}
ul.tags a {
    position: relative;
    z-index: 2;
}