JSFiddle - React, Tailwind, and code Playground
HTML
<div>art</div>
<div class="mr">marketing</div>
CSS
div{
padding:5px 10px;
font-size:12px;
-moz-border-radius:0 5px 5px 0;
-webkit-border-radius:0 5px 5px 0;
float:left;
margin-left:30px;
margin-top:20px;
position:relative;
font-family:verdana;
color:#3b3d3c;
border:1px solid #d5d5d7;
border-left:0;
}
div{
background: -moz-linear-gradient( top , #fbfdfc 0%,#f6f5f5 100%);
background: -webkit-linear-gradient( top , #fbfdfc 0%,#f6f5f5 100%);
}
div:after{
content:"";
width:18px;
height:18px;
background: -moz-linear-gradient( left top , #fbfdfc 0%,#f6f5f5 100%);
background: -webkit-linear-gradient( left top , #fbfdfc 0%,#f6f5f5 100%);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
display:block;
position:absolute;
top:3px;
left:-10px;
z-index:-1;
border:1px solid #d5d5d7;
}
div:before{
content:"";
width:8px;
height:8px;
background:#d5d5d7;
position:absolute;
top:10px;
left:-7px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
}
div.mr:before{
content:"x";
width:auto;
height:auto;
position:absolute;
top:5px;
left:-5px;
background:none;
color:#454545;
}