blob: 3e8363d290e25621f31225e6ad200f0e700aad0a [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<style>
#back {
width: 1000px;
height: 600px;
background-color: green;
}
#front {
width: 800px;
height: 400px;
background-color: red;
border: 50px solid blue;
padding: 50px;
-webkit-mask-image: url(resources/circle.png);
-webkit-mask-size: 100px;
-webkit-mask-repeat: round repeat;
-webkit-mask-origin: border-box;
-webkit-mask-clip: border-box;
}
</style>
</head>
<body>
<div id="back">
<div id="front" />
</div>
</body>
</html>