JSFiddle - React, Tailwind, and code Playground
by extempl
HTML
<div class="arrow_box"></div>
CSS
.arrow_box {
position: relative;
background: #88b7d5;
border: 6px solid #c2e1f5;
padding: 40px;
width: 280px;
height: 100px;
border-radius: 0 7px 7px 0;
}
.arrow_box:after, .arrow_box:before {
left: 90%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
transform: scale(0.6, 1.025);
}
.arrow_box:after {
border-color: rgba(136, 183, 213, 0);
border-left-color: #88b7d5;
border-width: 88px;
margin-top: -88px;
}
.arrow_box:before {
border-color: rgba(194, 225, 245, 0);
border-left-color: #c2e1f5;
border-width: 94px;
margin-top: -94px;
}