mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
26 lines
519 B
HTML
26 lines
519 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head lang="en">
|
|
<meta charset="UTF-8">
|
|
<title>z-index17</title>
|
|
<style>
|
|
.z {
|
|
background: darkolivegreen;
|
|
position: fixed;
|
|
right: 0;
|
|
left: 0;
|
|
height: 100px;
|
|
z-index: 10;
|
|
top: 0;
|
|
}
|
|
body {
|
|
background: violet;
|
|
}
|
|
</style>
|
|
<script type="text/javascript" src="../../test.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="z">fixed z-index 10</div>
|
|
</body>
|
|
</html>
|