blob: 33f9c3b041f3c56aa5a7c28e017dab198d8109c6 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<style>
#back {
width: 500px;
height: 500px;
background-color: green;
}
#front {
width: 300px;
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 space;
-webkit-mask-origin: content-box;
-webkit-mask-clip: content-box;
}
</style>
</head>
<body>
<div id="back">
<div id="front" />
</div>
</body>
</html>