blob: 7f2b2b9e110a619ef3d4d338fdd5501706150574 [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: space;
-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>