JSFiddle - React, Tailwind, and code Playground
HTML
<h1>test</h1>
CSS
body {
background: url('http://c2.staticflickr.com/6/5829/22779716564_cd4e7ff71f_n.jpg') no-repeat;
}
h1{
background:#A52927;
display:inline-block;
padding:0px 30px;
color:#EEE4D3;
position:relative;
height:40px;
line-height:40px;
}
h1:after {
position: absolute;
content: "";
top: 0px;
left: auto;
right: -20px;
height: 0px;
width: 0px;
border-top: 20px solid #A52927;
border-right: 20px solid transparent;
border-bottom: 20px solid #A52927;
}