JSFiddle - React, Tailwind, and code Playground
HTML
<div>test</div>
CSS
div {border-bottom:2px solid black; padding-bottom:15px; position:relative;}
div:before, div:after { position:absolute; bottom:-6px; left:0; height:10px; width:10px; background:black; content:""; border-radius:5px;}
div:after {right:0; left:auto;}