title: How to determine largest possible font-size such that it fits on one line in CSS
body: <p>I have a div tag <code>wrapper</code> with <strong>adjustable dimensions</strong>.</p>
  
  <pre><code>&lt;div class="wrapper"&gt;
     &lt;p class="inside-text"&gt;Some text&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In this setup, how do I set the <strong>font-size</strong> of <code>inside-text</code> to be as big as possible, such that it fits on one line (fitting) using CSS?</p>