JSFiddle - React, Tailwind, and code Playground

by DoubleYo

HTML

<section>
    <div class="border"></div>
    <div class="shadow"></div>
</section>

CSS

body {background: #f4f5ef;}
section {
    margin-left: 50px;
    padding: 10px 0;
    background: #6b757e;
}

div {
    position: relative;
    margin: 10px;
    margin-left: -10px;
    width: 200px;
    height: 30px;
    background: #328ee5;
}

div:after{
    position: absolute;
    content: " ";
    bottom: -10px;
    left:0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px;
    border-color: #a7cbeb #a7cbeb transparent transparent;
}

.border {
    border-bottom: solid 4px #5e676e;
    border-right: solid 2px #5e676e;
}

.shadow {
    box-shadow: 2px 2px 0px 2px #5e676e
}