tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

floats-aspect-ratio-001.html (694B)


      1 <!DOCTYPE html>
      2 <title>CSS aspect-ratio: block formatting context with floats</title>
      3 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
      5 <link rel="match" href="floats-aspect-ratio-001-ref.html" />
      6 
      7 <div style="width: 200px; border: solid 1px; display: flow-root;">
      8  <div style="float: left; width: 50px; height: 50px; background: lime;"></div>
      9  <div style="float: right; width: 50px; height: 50px; background: hotpink;"></div>
     10  <div style="float: left; width: 160px; height: 50px; background: aqua;"></div>
     11 
     12  <div style="aspect-ratio: 1/1; background: orange; display: flow-root;"></div>
     13 </div>