title: CSS horizontal line on one side of text
body: <p>I want to create horizontal line on left side of my text. I have somethink like this, but it's creating line on both sides but I want only on one side - left or right. How can I do this?</p>
  
  <pre><code>h2 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 10px 0 20px;
  }
  
  h2 span {
    background: #fff;
    padding: 0 10px;
  }
  </code></pre>
  
  <p>Demo: <a href="http://jsfiddle.net/7jGHS/" rel="noreferrer">http://jsfiddle.net/7jGHS/</a></p>