blob: e1c6d3bac89dfa342504321c5a0487f2ebcaebc1 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<style>
#back {
width: 600px;
height: 500px;
background-color: green;
}
#front {
width: 400px;
height: 300px;
background-color: red;
border: 50px solid blue;
padding: 50px;
-webkit-mask-image: url("resources/circle.png");
-webkit-mask-size: 100px;
-webkit-mask-repeat: space;
-webkit-mask-origin: padding-box;
-webkit-mask-position: 150px 150px; /* This should be igonored because of repeat: space */
-webkit-mask-clip: padding-box;
}
</style>
</head>
<body>
<div id="back">
<div id="front" />
</div>
</body>
</html>