tor-browser

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

flex-inline-end-trimmed-only-ref.html (691B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>margin-trim: flex-inline-end-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-end should trim only inline-end 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 item:first-child {
     23    margin-inline-start: 10px;
     24 }
     25 </style>
     26 </head>
     27 <body>
     28 <flexbox>
     29 <item></item>
     30 <item></item>
     31 <item></item>
     32 </flexbox>
     33 </body>
     34 </html>