tor-browser

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

marker-content-004.html (644B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Test: ::marker pseudo elements styled with 'content' property and display:flex</title>
      6 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
      7 <link rel="match" href="marker-content-004-ref.html">
      8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
      9 <style>
     10 body { margin-left: 100px; }
     11 li { background: grey; }
     12 li::marker {
     13  content: "X";
     14  display: flex;
     15  width: 100px;
     16  align-content: start;
     17  background: lime;
     18 }
     19 span { font-size: 32pt; }
     20 </style>
     21 </head>
     22 <body>
     23 <ol><li></li><li>B</li><li><span>C</span></li></ol>
     24 </body>
     25 </html>