Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
.masked {
  width: 150px;
  height: 150px;
  background: green;
  border: 30px solid blue;
  padding: 20px;
  -webkit-mask-image: url(img_circle.svg);
  mask-image: url(img_circle.svg);
  mask-size: 100% 100%;
}
.mask1 {
  mask-clip: border-box;  
}
.mask2 {
  mask-clip: content-box;  
}
.mask3 {
  mask-clip: padding-box;  
}
.mask4 {
  mask-clip: fill-box;  
}
.mask5 {
  mask-clip: stroke-box;  
}
</style>
</head>
<body>
<h1>The mask-clip Property</h1>
<h3>Set mask-clip: border-box:</h3>
<div class="masked mask1">