blob: 5d07ac2a1fc675edeacafcb35cbfe000cd638629 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" media="screen">
div {
-webkit-box-sizing: border-box;
border: 1px solid black;
margin: 2px;
}
.level4 {
width: 234px;
height: 240px;
border-color: black;
-webkit-box-reflect: below 4px;
}
.level3 {
width: 228px;
height: 234px;
border-color: orange;
-webkit-box-reflect: right 4px;
}
.level2 {
width: 222px;
height: 112px;
border-color: blue;
-webkit-box-reflect: below 4px;
}
.level1 {
width: 106px;
height: 106px;
border-color: red;
-webkit-box-reflect: right 4px;
}
.box {
width: 100px;
height: 100px;
text-align: center;
font-size: 48pt;
background-color: green;
}
.compositing {
transform: translateZ(0);
}
</style>
</head>
<body>
<p>Deeply nested reflections.</p>
<div class="level4">
<div class="level3">
<div class="level2">
<div class="level1">
<div class="compositing box">C</div>
</div>
</div>
</div>
</div>
</body>
</html>
|