tor-browser

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

flexbox_margin-auto-ref.html (469B)


      1 <!DOCTYPE html>
      2 <title>flexbox | margin: auto</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <style>
      5 div {
      6 background: blue;
      7 margin: 1em 0;
      8 border: 1px solid black;
      9 height: 8em;
     10 width: 32em;
     11 position: relative;
     12 }
     13 span {
     14 background: white;
     15 width: 4em;
     16 margin: 0;
     17 height: 6em;
     18 position: absolute;
     19 left: 6em;
     20 top: 1em;
     21 display: inline-block;
     22 }
     23 span+span {
     24 left: 22em;
     25 }
     26 </style>
     27 
     28 <div>
     29 <span>one</span>
     30 <span>two</span>
     31 </div>