blob: 80336b5cf5a7735c2b8050338035aa028deb7662 (
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>
<style>
.first {
transform: translateZ(10px);
background-color: blue;
top: 50px;
}
.second {
transform: translateZ(5px);
background-color: green;
}
.leaf {
width: 100px;
height: 100px;
position:absolute;
}
</style>
</head><body>
<div style="opacity:0.5; transform:translateX(0px)">
<div class="leaf first"></div>
<div class="leaf second"></div>
</div>
</body>
</html>
|