CSS arrow markup

by dipish

HTML

<div class="crumb">
    <div class="l"></div>
    <div class="c">payload blablabla</div>
    <div class="r"></div>
</div>

CSS

.crumb {
    display: inline-block;
    position: absolute;
    padding: 0 24px 0 24px;
    height: 24px;
}

.crumb .l {
    border-color: #ececec #ececec #ececec transparent;
    border-width: 12px;
    border-style: solid;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
}

.crumb .r {
    border-color: transparent transparent transparent #ececec;
    border-width: 12px;
    border-style: solid;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
}

.crumb .c {
    background: #ececec;
    height: 24px;
}