JSFiddle - React, Tailwind, and code Playground

HTML

<ul class="searchtags">
  <li><a href="#">javaScript</a></li>
  <li><a href="#">PHP</a></li>
  <li><a href="#">HTML</a></li>
</ul>

CSS

.searchtags {
  padding: 0;
  list-style-type: none;
}

.searchtags li,
.searchtags a {
  float: left;
  height: 24px;
  line-height: 24px;
  position: relative;
}

.searchtags a {
  margin-left: 20px;
  padding: 0 10px 0 12px;
  background: #fff;
  color: #4a4949;
  text-decoration: none;
  border: 1px solid #cacaca;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
}
.searchtags a:before {
  content: "";
  float: left;
  position: absolute;
  top: 0;
  left: -12px;
  width: 0;
  height: 0;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
  border-width: 12px 12px 12px 0;
}

.searchtags a:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  float: left;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #bbb;
  background: #fff;
}

.searchtags a:hover {
  background: #f8f8f8;
}

.searchtags a:hover:before {
  border-color: transparent #f8f8f8 transparent transparent;
}