JSFiddle - React, Tailwind, and code Playground
HTML
<div class="arrow-up"></div>
<div class="arrow-down"></div>
<div class="arrow-left"></div>
<div class="arrow-right"></div>
CSS
.arrow-up {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px inset black;
}
.arrow-down {
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px inset #f00;
}
.arrow-right {
width: 0;
height: 0;
border: 60px solid transparent;
/*border-top: 60px solid transparent;
border-bottom: 60px solid transparent;*/
border-left-style: inset green;
}
.arrow-left {
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-right:10px inset blue;
}