JSFiddle - React, Tailwind, and code Playground
HTML
<div id="acc-btn">
XXXXXXXXXXX
</div>
CSS
#acc-btn {
border-bottom: 1px solid #AAA;
position: relative;
height:22px;
color: #FFFFFF;
cursor: pointer;
float: right;
font-weight: 900;
padding: 14px 13px 10px 11px;
position: relative;
text-align: center;
background: #479cfc;
transition:background .3s;
-webkit-transition:background .3s;
}
#acc-btn:after, #acc-btn:before {
/* display:none <-Toggle this to hide the Arrow!!!! */
top: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
#acc-btn:after {
border-color: rgba(38, 168, 255, 0);
border-top-color: #479cfc;;
border-width: 5px;
margin-left: -5px;
}
#acc-btn:before {
border-color: rgba(158, 158, 158, 0);
border-top-color: #479cfc;
border-width: 11px;
margin-left: -11px;
}