tor-browser

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

background-clip-content-box-001.html (763B)


      1 <!DOCTYPE html>
      2 <title>CSS Backgrounds and Borders Test: background-clip Reference</title>
      3 <link rel="author" title="James Wang" href="mailto:wangjian@ucweb.com">
      4 <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-clip">
      5 <link rel="match" href="reference/background-clip-content-box-ref.html">
      6 <style>
      7 #test-color-blue {
      8  background-color: blue;
      9  height: 200px;
     10  position: absolute;
     11  width: 200px;
     12 }
     13 #test-color-orange {
     14  background-clip: content-box;
     15  background-color: rgba(255, 165, 0, 1);
     16  height: 180px;
     17  padding: 10px;
     18  position: absolute;
     19  width: 180px;
     20 }
     21 </style>
     22 <p>Test passes if the orange box has a 10px width blue edge.</p>
     23 <!-- background -->
     24 <div id="test-color-blue"></div>
     25 <div id="test-color-orange"></div>