blob: dde9fee5e6e548ccc3f725c0b5527f8b72c15a05 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" media="screen">
.box {
height: 100px;
width: 100px;
margin: 20px;
margin-bottom: 120px;
background-color: green;
}
.reflected {
-webkit-box-reflect: below 2px
-webkit-gradient(linear, left top, left bottom, from(transparent), to(white));
}
.composited {
-webkit-transform: translateZ(0);
}
</style>
</head>
<body>
<p>Reflection should be masked with gradient.</p>
<div class="reflected composited box">
</div>
</body>
</html>