title: Add text in CSS chevron shape
body: <p>A status bar made with a number of divs, Each has text status in the middle.
  Generated the chevron shape with CSS, Shape made with joining two parallelograms. How I can add a text in the middle of each chevron.</p>
  
  <p><a href="https://i.stack.imgur.com/iBXVx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iBXVx.png" alt="enter image description here"></a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.chevron {
    display: inline-block;
    position: relative;
    clear: both;
    padding: 12px;
    height:20px;
    width: 200px;
    margin-top:30px;
  }
  
  .chevron:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background: #009999;
    color: white;
    -webkit-transform: skew(60deg, 0deg);
    -moz-transform: skew(60deg, 0deg);
    -ms-transform: skew(60deg, 0deg);
    -o-transform: skew(60deg, 0deg);
    transform: skew(60deg, 0deg);
  }
  
  .chevron:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    height: 50%;
    width: 100%;
    background: #009999;
    -webkit-transform: skew(-60deg, 0deg);
    -moz-transform: skew(-60deg, 0deg);
    -ms-transform: skew(-60deg, 0deg);
    -o-transform: skew(-60deg, 0deg);
    transform: skew(-60deg, 0deg);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div  class="chevron"&gt; Text here&lt;/div&gt;
  &lt;div  class="chevron"&gt; Text here&lt;/div&gt;
  &lt;div  class="chevron"&gt; Text here&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>