blob: 95e1d7e0fa953982a1203352cbeb9b0f696092f0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.box {
height: 100px;
width: 100px;
background-color: black;
display: inline-block;
margin: 20px;
-webkit-box-reflect: below 0px linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}
.transformed {
transform: rotate(10deg);
}
.transformed2 {
transform: skewX(10deg);
}
</style>
</head>
<body>
<p>You should not see any pixel artifacts around the reflections.</p>
<div class="box"></div>
<div class="transformed box"></div>
<div class="transformed2 box"></div>
</body>
</html>