blob: d1f44120518ed960ba20a1659103e8162e78f9c5 [file] [log] [blame]
<!DOCTYPE>
<html>
<head>
<style>
.container {
height: 300px;
width: 400px;
border: 2px solid black;
overflow: hidden;
}
.box {
height: 300px;
width: 2800px;
border: 1px solid black;
background-color: gray;
}
.composited {
-webkit-transform: translateZ(0);
}
.masked {
-webkit-mask-image: url(../resources/alpha-gradient.png);
-webkit-mask-repeat: repeat-x;
}
</style>
</head>
<body>
<div class="composited container">
<div id="box" class="composited masked box"></div>
</div>
</body>
</html>