JSFiddle - React, Tailwind, and code Playground

by Yonathan Benitah

HTML

<div>
<div class="hero">coucou 1</div>
<div class="hero">coucou 2</div>
</div>

CSS

.hero {
   /*  position:relative;
    background-color:#e15915;
    height:120px !important;
    width:100% !importan */t;
}

.hero:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -50px;
    width: 0;
    height: 0;
    border-bottom: solid 50px #e15915;
    border-left: solid 50px transparent;
    border-right: solid 50px transparent;
}