blob: 7e16b110e09e82e8dbb09db571c91ca7021ecc07 (
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
|
<style>
#d1 {
position: absolute;
top: 0px;
left: 0px;
will-change: transform;
width: 64px;
height: 64px;
background: red;
}
#d2 {
position: absolute;
top: 0px;
left: 0px;
will-change: opacity;
opacity: 0.5;
width: 32px;
height: 32px;
background:blue;
}
#d3 {
will-change: transform;
}
#d4 {
will-change: transform;
}
</style>
<div id="d2">
<div id="d3">
sadf
</div>
<div id="d4">
sdf
</div>
</div>
<div id="d1">
</div>
|