title: float does not work in a flex container
body: <p>I want to position text (foo link) in right of the footer element.</p>
  
  <p>I need footer display to remain <code>flex</code>.</p>
  
  <p>But when I set it to <code>flex</code>, <code>float:right</code> for span doesn't work anymore.  </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-html lang-html prettyprint-override"><code>&lt;footer style="display: flex;"&gt;
       &lt;span style="text-align: right;float: right;"&gt;
          &lt;a&gt;foo link&lt;/a&gt;
       &lt;/span&gt;
  &lt;/footer&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://jsfiddle.net/dhsgvxdx/" rel="noreferrer">https://jsfiddle.net/dhsgvxdx/</a></p>