blob: 53f8045c8792e68d12ac14cc7d0c7e0cd2bc14b2 (
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
div {
position: absolute;
width: 100px;
height: 100px;
}
.opacity {
opacity: 0.99;
}
.green {
background-color: green;
}
.red {
width: 300px;
height: 100px;
background-color: red;
}
.translate {
transform: translateX(100px);
}
</style>
</head>
<body>
<div class="red"></div>
<div class="green">
<div class="translate opacity green">
<div class="translate green"></div>
</div>
</div>
</body>
</html>
|