tor-browser

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

flex-inline-trimmed-only-ref.html (631B)


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