JSFiddle - React, Tailwind, and code Playground
HTML
<div></div>
CSS
div {
height: 200px;
background: #444;
position: relative;
}
div:before {
content: '';
position: absolute;
bottom: 0; right: 0;
border-bottom: 40px solid white;
border-left: 80px solid #444;
width: 0;
}