title: make full area in clickable flex container - flex itemized anchor tags to fill their available space in an unordered list?
body: <p>Consider the following example below:</p>
  
  <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>.links {
          margin: 0;
          padding: 0;
          border: 1px solid gray;
  }
  
  .links ul {
          list-style-type: none;
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: space-evenly;
          align-content: stretch;
      }
      
  .links li {
          padding: 10px 0 10px;
  }
  
  .links a {
          font-family: ralewayLight, sans-serif;
          padding: 10px 0 10px;
  }
  
  .links a:hover {
          text-decoration: none;
          color: #fff;
          background-color: #000;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="links"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Link 2&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Link 3&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>On hover, I need to have the black area extend in it's available space so that when hovered, the black will extend on the left and right beyond the constraints of the <code>&lt;a&gt;</code> tag and meet to the other tag, so everything is spaced evenly and that the entire area is clickable.</p>
  
  <p>I do this (I think with justify-content: space-evenly; but I now want to demonstrate that in color). </p>
  
  <p><a href="https://stackoverflow.com/questions/37745051/make-div-fill-remaining-horizontal-space-in-flexbox">Make div fill remaining *horizontal* space in flexbox</a></p>
  
  <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>.links {
          margin: 0;
          padding: 0;
          border: 1px solid gray;
  }
  
  .links ul {
          list-style-type: none;
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: space-evenly;
          align-content: stretch;
      }
      
  .links li {
          padding: 10px 0 10px;
  }
  
  .links a {
          font-family: ralewayLight, sans-serif;
          padding: 10px 0 10px;
          flex-grow: 1;
  }
  
  .links a:hover {
          text-decoration: none;
          color: #fff;
          background-color: #000;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="links"&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Link 2&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Link 3&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The hover state still stays in the constricted area. </p>
  
  <p>How do I get it so that on hover, the black is evenly distributed across each item and that on hover the whole area is clickable? </p>
  
  <p>Besides <code>flex-grow: 1;</code> I tried:</p>
  
  <ol>
  <li><code>align-items: stretch;</code></li>
  </ol>
  
  <p>DId not work</p>
  
  <ol start="2">
  <li>Adding a specific width to the flex children</li>
  </ol>
  
  <p>Seemed to break the flexbox container</p>
  
  <ol start="3">
  <li><code>align-content: stretch;</code></li>
  </ol>
  
  <p>Did not work</p>
  
  <p>How do I get flex itemized anchor tags to fill their available space in an unordered list?</p>