title: How to capitalize first line with CSS? ::first-line pseudo-element not working
body: <p>Right now I've got a paragraph and I'd like to capitalize the entire first line. I've set the first paragraph to an ID "firstp" and tried:</p>
  
  <pre class="lang-css prettyprint-override"><code>#firstp::first-line {
    text-transform: uppercase;
  }
  </code></pre>
  
  <p>I've tried it with <code>text-transform: capitalize</code> but that doesn't work either. It's strange because I've managed to change the first letter (changed font size) using <code>#firstp:first-letter</code>. </p>