<div class="container">
<div class="element">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam, optio, repellendus, quod, incidunt nulla iusto quam sunt sequi porro repudiandae consectetur veritatis consequuntur nam repellat quae temporibus laboriosam officia modi.</p>
</div>
<p><strong>You should read more about how the different border image properties work together in the <a href="http://tympanus.net/codrops/css_reference/border-image"><code>border-image</code></a> shorthand property entry</strong>.</p>
</div>
body {
background-color: #F5F5F5;
color: #555;
font-size: 1.1em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.container {
margin: 40px auto;
width: 90%;
}
.element {
padding: 20px;
margin: 0 auto;
background-color: white;
border-image-source: url(http://tympanus.net/codrops-playground/assets/images/cssref/properties/border-image-width/border-img.png);
border-image-repeat: round;
border-image-slice: 27;
border-image-width: 27px;
}