JSFiddle - React, Tailwind, and code Playground
HTML
<div class='chevron left'></div>
<div class='chevron right'></div>
CSS
body {
height: 1000px;
background-color: black;
}
.chevron {
position: absolute;
width: 500px; /* Each half of arrow is 500px in width */
height: 20px;
bottom: 25px;
background-color: green;
-webkit-border-radius: 30px;
border-radius: 30px;
color: red;
}
.left {
left: 0px;
-webkit-transform: rotate(340deg);
-moz-transform: rotate(-5deg);
-o-transform: rotate(340deg);
-ms-transform: rotate(340deg);
transform: rotate(-5deg);
box-shadow:4px 2px 2px #00ff00;
}
.right {
left: 480px;
-webkit-transform: rotate(20deg);
-moz-transform: rotate(5deg);
-o-transform: rotate(20deg);
-ms-transform: rotate(20deg);
transform: rotate(5deg);
box-shadow:4px 2px 2px #00ff00;
}