title: Responsive square depending on content width
body: <p><em>#wrapper</em> should be a square with the width of the <em>#text</em>. Longer text should result in a larger square. Line breaks aren't necessary. How does this work in CSS? The HTML can be modified if needed.</p>
  
  <p><a href="http://codepen.io/anon/pen/XXOjJB" rel="nofollow noreferrer">http://codepen.io/anon/pen/XXOjJB</a></p>
  
  <pre><code>&lt;div id="wrapper"&gt;
    &lt;div id="text"&gt;Lorem ipsum!&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is how it should look like:</p>
  
  <p><a href="https://i.stack.imgur.com/v1FCF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v1FCF.png" alt="Goal"></a></p>