JSFiddle - React, Tailwind, and code Playground

HTML

<span id="a">TEST TEXT</span>

CSS

.b {
    display:inline-block;
    height: 0;
    font-family:'Roboto';
    font-size: 12px;
    font-weight: bold;
    font-stretch: condensed;
    padding-right:20px;
    padding-left:20px;
    color:WHITE;
    
    border-left:20px solid transparent;
    border-bottom:20px solid green;
    
    transition: all 0.5s;
}



.b:hover{
    border-bottom:25px solid red;
}


#a {
    display:inline-block;
    padding-right:20px;
    padding-left:15px;
    margin-left:50px;
        font-family:'Roboto';
    font-size: 12px;
    font-weight: bold;
    font-stretch: condensed;
    COLOR : white;
    background: #FF3300;
height:25px;
    line-height:25px;
	 top: 50%;
position:relative;
}

#a:before {
    content:'';
    height:0;
    display:inline-block;
    position:absolute;
    left:-10px;
    top:0;
    border-left: 10px solid transparent;
	border-bottom: 25px solid ;
     border-bottom-color: #FF3300;
}
    
}