tor-browser

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

details-pseudo-elements-001.html (640B)


      1 <!DOCTYPE HTML>
      2 <title>Details pseudo-elements</title>
      3 <link rel="match" href="details-pseudo-elements-001-ref.html">
      4 <link rel="help" href="https://github.com/whatwg/html/pull/10265">
      5 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#details-content-pseudo">
      6 <link rel="help" href="https://github.com/dbaron/details-styling">
      7 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1469418">
      8 <style>
      9 
     10 details::details-content {
     11  background: aqua;
     12  display: block; /* override display: contents for slot */
     13 }
     14 
     15 </style>
     16 
     17 <details open>
     18  <summary>The summary</summary>
     19  <div>The details!</div>
     20 </details>