blob: c629b2da00e4f3f550429ba9440cad5a0ba595f9 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.wrapper {
width: 280px;
height: 280px;
-webkit-box-sizing: border-box;
padding: 40px;
margin: 4px;
display: inline-block;
}
.box {
position: relative;
width: 100px;
height: 100px;
display: inline-block;
box-shadow: 0 0 23px black;
-webkit-transform-origin: top left;
}
</style>
</head>
<body>
<!-- You should not see any pixel cracks in the shadows -->
<div class="wrapper">
<div class="box" style="-webkit-transform: scale(0.63)"></div>
</div>
<div class="wrapper">
<div class="box" style="-webkit-transform: scale(0.97)"></div>
</div>
<br>
<div class="wrapper">
<div class="box" style="-webkit-transform: scale(1.234)"></div>
</div>
<div class="wrapper">
<div class="box" style="-webkit-transform: rotate(90deg) scale(1.377); -webkit-transform-origin: center;"></div>
</div>
</body>
</html>