JSFiddle - React, Tailwind, and code Playground
HTML
<div>art</div>
<div>marketing</div>
CSS
div{
padding:10px;
font-size:18px;
-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:#fff;
border:1px solid pink;
border-left:0;
}
div{
background: -moz-linear-gradient( top , #83de8f 0%,#3a8c49 100%);
background: -webkit-linear-gradient( top , #83de8f 0%,#3a8c49 100%);
}
div:after{
content:"";
width:30px;
height:31px;
background: -moz-linear-gradient( left top , #83de8f 0%,#3a8c49 100%);
background: -webkit-linear-gradient( left top , #83de8f 0%,#3a8c49 100%);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
display:block;
position:absolute;
top:5px;
left:-15px;
z-index:-1;
border:1px solid pink;
}
div:before{
content:"";
width:10px;
height:10px;
background:#fff;
position:absolute;
top:18px;
left:-7px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
div:after{
width:29px;
height:29px;
top:6px;
left:-15px;
}
}