html2canvas/tests/reftests/zindex/z-index20.html

42 lines
1.1 KiB
HTML
Raw Normal View History

2020-08-09 07:49:31 +03:00
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8" />
<title>z-index20</title>
<style>
.container {
width: 375px;
height: 603px;
background-color: #999;
position: relative;
margin-bottom: 30px;
}
.child1 {
height: 500px;
width: 200px;
background-color: red;
z-index: 20;
position: absolute;
left: 0;
top: 0;
}
.child2 {
height: 50px;
width: 100px;
background-color: blue;
z-index: 20;
position: absolute;
left: 30px;
top: 30px;
}
</style>
<script type="text/javascript" src="../../test.js"></script>
</head>
<body>
<div class="container" id="___id___">
<div class="child1"></div>
<div class="child2"></div>
</div>
</body>
</html>