31 lines
615 B
HTML
31 lines
615 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<style>
|
|
#target {
|
|
height: 200px;
|
|
width: 200px;
|
|
-webkit-transform: translateZ(0);
|
|
}
|
|
|
|
.shadowed {
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 50px;
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: blue;
|
|
box-shadow: 10px 20px 12px black;
|
|
}
|
|
</style>
|
|
<script src="resources/dump-target-display-list.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="target">
|
|
<div class="shadowed"></div>
|
|
</div>
|
|
<pre id="output"></pre>
|
|
</body>
|
|
</html>
|