tor-browser

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

background-repeat-space-1b.html (1298B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Background: background-repeat: background image space with position</title>
      6    <link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
      7    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      8    <link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
      9    <link rel="match" href="background-repeat-space-1-ref.html">
     10    <meta name="assert" content="Test checks whether background-repeat: 'space' works correctly or not.">
     11    <meta name="fuzzy" content="maxDifference=0-52; totalPixels=0-7950">
     12    <style type="text/css">
     13      .outer {
     14        width: 106px;
     15        height: 106px;
     16        border: 1px solid black;
     17        background-image: url(support/aqua-yellow-32x32.png);
     18        background-position: 15px 15px;
     19        background-repeat: space;
     20      }
     21      .outer_gradient {
     22        width: 106px;
     23        height: 106px;
     24        border: 1px solid black;
     25        background-size: 32px 32px;
     26        background-image: linear-gradient(to top left, red, green);
     27        background-position: 15px 15px;
     28        background-repeat: space;
     29      }
     30    </style>
     31  </head>
     32  <body>
     33    <div class="outer"></div>
     34    <div class="outer_gradient"></div>
     35  </body>
     36 </html>