summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2-ref.html
blob: 6a4ef234b0bbd74ad6d43984c53eed24dc60b852 (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
<!doctype html>
<title>CSS Test Reference</title>
<style>
  .text {
    background-color: blue;
    color: transparent;
    font: 50px/1 monospace;
    -webkit-background-clip: text;
    background-clip: text;
    height: 200px;
  }
  .prev {
    height: 100px;
  }
  p {
    color: transparent;
  }
</style>
<div class="text">
  <div class="prev"></div>
  <div class="inner">
    <p>XxX</p>
  </div>
</div>