summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/background-clip-text-scale.html
blob: 2f4ada69c8ab351898666b83f4351dc557abc047 (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
29
30
31
<meta charset="utf-8">

<style>
  body { overflow: hidden }
  p {
  margin: 1em 0;
  padding: 1.4em;
  font: 900 1.2em sans-serif;
  position:absolute;
  color: rgba(0,0,0,0);
}

.text {
  background: red;
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(20,2);
  transform-origin: center;
  left: 400px;
  }
.wrapper {
  border: black solid 80px;
  transform: scale(2,0.3);
  transform-origin: center;
  left: 330px;
  top: -75px;
}

</style>
<p class="text"></p>
<p class="wrapper"></p>