tor-browser

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

flex-trim-all-margins-ref.html (606B)


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