JSFiddle - React, Tailwind, and code Playground
HTML
<div>Web Design</div>
SCSS
div {
background-color: red;
width: 180px;
text-align: center;
position: relative;
text-transform: uppercase;
font-family: Arial;
font-size: 14px;
line-height: 0.8;
padding-top: 75px;
color: #fff;
&:before,
&:after {
content: '';
position: absolute;
left: 0;
right: 0;
margin: auto;
}
&:before {
width: 30px;
height: 30px;
background: url(https://image.flaticon.com/icons/svg/351/351728.svg);
top: 20px;
}
&:after {
position: absolute;
top: 100%;
left: 0;
right: 0;
margin: auto;
width: 0;
height: 0;
border-left: 90px solid transparent;
border-right: 90px solid transparent;
border-top: 35px solid red;
}
}