blob: 353665b4b3df30f368edee5161f925b816de4407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<style>
div {
width: 100px;
height: 50px;
}
#transformed {
overflow: hidden;
transform: translateZ(0);
height: 100px;
width: 100px;
}
#fixed {
position: fixed;
background-color: chartreuse;
width: 100px;
height: 100px;
top: -50px;
}
</style>
<div style="background-color: chartreuse;"></div>
<div style="background-color: salmon;"></div>
|