blob: f73c399af2e2019de8ebc10bed79cdd014661587 (
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
|
<html>
<head>
<style type="text/css" media="screen">
body {
margin: 0;
}
#one {
position:absolute;
left: 50px;
top:50px;
width:100px;
height:100px;
background-color:red;
z-index:0;
}
#two {
width:200px;
height:200px;
overflow: auto;
transform: scale(0.5);
background-color:green;
z-index:0;
}
</style>
</head>
<body>
<div id="one"></div>
<div id="two"></div>
<p>You should see one green square above</p>
</body>
</html>
|