blob: 793f298aa8bc5ef5a399dff8337d2dc344820614 [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: 400px 300px;
-webkit-mask-repeat: no-repeat;
-webkit-mask-origin: padding-box;
-webkit-mask-position: 100px 100px;
-webkit-mask-clip: padding-box;
}
</style>
</head>
<body>
<div id="back">
<div id="front" />
</div>
</body>
</html>