JSFiddle - React, Tailwind, and code Playground
HTML
<br />
<br />
<br />
<br />
<div class="leftArrow">
This is the left leftArrow
</div>
<div class="rightArrow">
This is the rightArrow
</div>
CSS
.leftArrow {
-webkit-clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
background:#273248;
height: 160px;
max-height: 160px;
margin-top: 0px;
width: 60%;
float: left;
}
.rightArrow {
-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
background:#ce192c;
height: 160px;
max-height: 160px;
margin-top: -180px;
width: 70%;
float: right;
}