<div class="wrapper">
<div class="container">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Totam, culpa, quas, quos pariatur iure officiis aut asperiores aspernatur doloremque reprehenderit velit laboriosam itaque ipsam saepe quod. Eaque, a debitis consequuntur!
</p>
<img src="http://tympanus.net/codrops-playground/assets/images/cssref/properties/mask-size/field.jpg" alt="">
</div>
</div>
body {
background-color: #111;
color: #555;
font-size: 1.1em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.wrapper {
margin: 20px auto;
border: 1px solid #333;
max-width: 740px;
}
.container {
display: block;
max-width: 640px;
padding: 30px;
height: 400px;
background-color: white;
border: 20px solid fuchsia;
-webkit-mask-image: url(http://tympanus.net/codrops-playground/assets/images/cssref/properties/mask-size/mask-image.png);
mask-image: url(http://tympanus.net/codrops-playground/assets/images/cssref/properties/mask-size/mask-image.png);
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: 200px 200px;
mask-size: 200px 200px;
}