JSFiddle - React, Tailwind, and code Playground

HTML

<span class="ribbon3">asd</span>

CSS

body {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
}

.ribbon3 {
  width: 93%;
  height: 50px;
  line-height: 50px;
  padding-left: 15px;
  position: absolute;
  left: -8px;
  top: 20px;
  background: #59350C;
}
.ribbon3:before, .ribbon3:after {
  content: "";
  position: absolute;
}

.ribbon3:after {
  height: 0;
  width: 0;
  right: -14.5px;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 15px solid #59324C;
}