blob: 45ea08d56587b6bd1a1c5f86f72c13e5894f7a15 (
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
|
<html reftest-zoom="1.1">
<head>
<style type="text/css">
.parent {
display: flex;
overflow: hidden;
}
.bg {
background-color: lime;
width: 200px;
height: 200px;
transform: scale(1.05);
}
.bg_overlay {
background-color: red;
width: 100px;
height: 100px;
position: absolute;
}
</style>
</head>
<body>
<div class="parent">
<div class="bg"></div>
<div class="bg_overlay"></div>
</div>
</body>
</html>
|