tor-browser

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

flex-block-trimmed-only-ref.html (610B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>margin-trim: flex-block-trimmed-only</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 <meta name="assert" content="block should trim only block margins of flex items">
      8 <style>
      9 flexbox {
     10    display: flex;
     11    width: min-content;
     12    border: 1px black solid;
     13 }
     14 item {
     15    display: block;
     16    background-color: green;
     17    width: 50px;
     18    height: 50px;
     19    margin-inline: 10px;
     20 }
     21 </style>
     22 </head>
     23 <body>
     24 <flexbox>
     25 <item></item>
     26 <item></item>
     27 <item></item>
     28 </flexbox>
     29 </body>
     30 </html>