JSFiddle - React, Tailwind, and code Playground

by Clare12345

HTML

<div class="top">test1
    <span class="arrow" style="left:40%"></span>
</div>

CSS

.top {
    width:300px;
    height:300px;
    position:relative;
    overflow:hidden;
    background: #00FFFF;
}
.arrow {
    border:30px solid #aaa;
    border-bottom:none;
    border-color:transparent #aaa transparent #aaa;
    position:absolute;
    left:0;
    bottom:0;
}
.arrow:before, .arrow:after {
    content:'';
    position:absolute;
    width:5000px;
    bottom:0;
    height:30px;
    background:#aaa;
}
.arrow:before {
    right:30px;
}
.arrow:after {
    left:30px;
}