summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/cross-fade-target-alpha-ref.html
blob: e66cfb0ae5be1192aff2eaf013f389bcd0c3057e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
  <head>
    <title>CSS reftest Reference</title>
    <style>
      .outer {
        display:block;
        width: 500px;
        height: 500px;
        padding: 50px;
        background: linear-gradient(90deg, red, green);
      }
      .inner {
        display: block;
        width: 100%;
        height: 100%;
        color: white;
        background: linear-gradient(#e66465, #9198e5);
        opacity: 0.6;
      }
    </style>
  </head>
  <p>The inner gradient should be (in total) 60% covering over the outer.</p>
  <div class="outer">
    <div class="inner">
    </div>
  </div>
</html>