title: How to force span's background color to be 100% width?
body: <p>I'm trying to force a span element background to be the full width of parent.
  <br>
  <br>
  <strong>Heads Up</strong><br>
  Yes… I'm fully aware of doing divs…<br></p>
  
  <blockquote>
    <p>(but divs are more of a hack rather than an actual solution to the problem)<br></p>
  </blockquote>
  
  <p>Must be something similar to a span or span… due to its text fluidity.<br>
  Must be in a <code>pre</code> tag.
  <br>
  <br>
  <br>
  <br></p>
  
  <h1>Structure Setup Must be</h1>
  
  <p><code>&lt;div&gt;</code><br>
  <code>&lt;pre&gt;</code><br>
  <code>text text text</code> <code>&lt;span&gt;</code> <code>text text</code><br>
  <code>text text</code> <code>&lt;/span&gt;</code><br>
  <code>&lt;/pre&gt;</code><br>
  <code>&lt;/div&gt;</code><br>
  <br>
  <br>
  <br>
  <br></p>
  
  <h1>What I have</h1>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>div {
    width: 100%;
    background: rgba(54, 188, 255, 0.05);
    color: #515D6F;
  }
  
  .one {
    background: rgba(54, 188, 255, 0.15);
    color: rgba(54, 188, 255, 1);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    &lt;pre&gt;
   
  Here is something&lt;span class="one"&gt; hello 
  
  there
        how are you
        are you
        are you
        are you&lt;/span&gt;
      
  Here is something else
  
  &lt;/pre&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <h1>What I'm trying to achieve</h1>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
    margin: 0;
    padding: 0;
  }
  
  .container {
    width: 100%;
    background: rgba(54, 188, 255, 0.05);
    color: #515D6F;
  }
  
  .one {
    background: rgba(54, 188, 255, 0.15);
    color: rgba(54, 188, 255, 1);
    position: absolute;
    right: 0;
    width: calc(100% - 133px);
  }
  
  .left {
    width: 140px;
    position: absolute;
  }
  
  .demo {
    color: rgba(54, 188, 255, 1);
    background: rgba(54, 188, 255, 0.15);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;pre&gt;
  
  &lt;div class="left"&gt;Here is something&lt;/div&gt;&lt;div class="one right"&gt; hello&lt;/div&gt;
  &lt;div class="demo"&gt;
  there
        how are you
        are you
        are you
        are you&lt;/div&gt;
  Here is something else
    &lt;/pre&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>