title: How can I autoscale the font size to fit the contents of a div?
body: <p>I have a div with some text:</p>
  
  <pre><code>&lt;div style="white-space:nowrap;overflow:none;width:50px;"&gt;
    With some text in it
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I scale the font size of the text so all of the text is visible?</p>