title: Creating triangular bootstrap badges
body: <p>I'm trying to create triangular bootstrap badge with text at center of the triangle.<br>
  Code for normal badge: <a href="https://jsfiddle.net/wqrry89r/" rel="nofollow noreferrer">https://jsfiddle.net/wqrry89r/</a><br>
  Code for triangular bootstrap badge: <a href="https://jsfiddle.net/wqrry89r/1/" rel="nofollow noreferrer">https://jsfiddle.net/wqrry89r/1/</a><br>
  My CSS code is:  </p>
  
  <pre><code>.badge-triangle {
    left: 10px;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 100px solid #777;
    background-color: #fff;
  }
  
  .badge-triangle:after {
    left: 10px;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 50px solid #FFF;
    left: 57px;
    position: absolute;
    top: 38px;
    content: '';
  }  
  </code></pre>
  
  <p>How can I make that bootstrap badge triangular and make text go to center of triangle?</p>