JSFiddle - React, Tailwind, and code Playground

by Muthuraman B

HTML

<div class="outer">
  <p>Some content</p>
</div>

CSS

.outer {position: relative;background: #CCC;width: 100%;height:200px;}
.outer:after {position: absolute;content: '';top: 0;bottom: 0;left: 0;right:0;background: #FFF;clip-path: polygon(90% 0, 100% 0, 100% 100%, 90% 100%, 100% 50%);}
/* .outer:before {position: absolute;content: '';top: 0;bottom: 0;left: 0;right:0;background: #FFF;clip-path: polygon(90% 100%, 100% 50%, 100% 100%);} */