tor-browser

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

linear-gradient-body-sibling-index.html (593B)


      1 <!DOCTYPE html>
      2 <title>CSS Images Test: Linear gradient with sibling-index()</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-images/#linear-gradients">
      4 <link rel="help" href="https://drafts.csswg.org/css-values-5/#tree-counting">
      5 <link rel="match" href="linear-gradient-body-sibling-index-ref.html">
      6 <link rel="assert" content"sibling-index() is 2 for body">
      7 <style>
      8  body {
      9    background-position: top left;
     10    background-repeat: no-repeat;
     11    background-size: 100px 100px;
     12    background-image: linear-gradient(blue calc(20px * sibling-index()), yellow);
     13  }
     14 </style>
     15 <body>