Why is CSS text-indent not working?
<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>.logo {
    display: block;
    width: 200px;
    height: 100px;
    margin: auto;
    text-indent: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #F44336;
    }</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1 class="logo"&gt;This is a title &lt;/h1&gt;</code></pre>
</div>
</div>
</p>

<p><a href="http://i.stack.imgur.com/w7SB2.png" rel="nofollow">screenshot</a></p>

<p>Only the first word is hidden if I assign a very large number to <code>text-indent</code> (<code>text-indent: 999px;</code>).
In this case, all words should be hidden, because <code>The text-indent property specifies the indentation of the first line in a text-block.</code></p>

<p>I am not trying to hide all the text. I know the text-indent-image-replacement method. I am just curious why the code does not work properly.</p>