JSFiddle - React, Tailwind, and code Playground
HTML
<div></div>
CSS
div {
background: red;
height: 100px;
width: 100px;
clip-path: polygon(0 0,100% 0,100% 60%,0 100%)
}
<div></div>
div {
background: red;
height: 100px;
width: 100px;
clip-path: polygon(0 0,100% 0,100% 60%,0 100%)
}