tor-browser

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

flex-row-block-multiline.html (795B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>margin-trim: flex-row-block-multiline</title>
      5 <link rel="author" href="mailto:sammy.gill@apple.com">
      6 <link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-flex">
      7 <link rel="match" href="flex-row-block-multiline-ref.html">
      8 <meta name="assert" content="block-start margins are trimmed for items on first flex line and block-end margins and trimmed for items on last flex line">
      9 <style>
     10 flexbox {
     11    display: flex;
     12    width: 100px;
     13    flex-wrap: wrap;
     14    margin-trim: block;
     15    border: 1px solid black;
     16 }
     17 item {
     18    display: block;
     19    background-color: green;
     20    width: 50px;
     21    height: 50px;
     22    margin-block: 10px;
     23 }
     24 </style>
     25 </head>
     26 <body>
     27 <flexbox>
     28 <item></item>
     29 <item></item>
     30 <item></item>
     31 <item></item>
     32 </flexbox>
     33 </body>
     34 </html>