JSFiddle - React, Tailwind, and code Playground

by mich

HTML

<div class="cont">
    <a class="paddle left">&lsaquo;</a>
    <a class="paddle right">&rsaquo;</a>
</div>

CSS

body { background-color: #3a3a3a; }

.cont {
    background-color: #777;
    height: 200px;
    position: relative;
}
.paddle {
    display: inline-block;
    background-color: #111;
    width: 50px;
    height: 66px;
    overflow: hidden;
    text-indent: 50px;
    position: absolute;
    top: 50%;
    margin-top: -33px;
}
.paddle:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -12px;   
    height: 0;
    width: 0;
    border: solid 12px transparent;
}
.paddle.right {
    border-radius: 4px 0 0 4px;
    right: 0;
}
.paddle.right:before {    
    border-left-color: white;
    margin-left: -6px; 
}

.paddle.left {
    border-radius: 0 4px 4px 0;
    left: 0;
}

.paddle.left:before {
    border-right-color: white;
    margin-left: -18px; 
}