<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-slice/border-img.png);
border-image-repeat: round;
border-image-width: 27px;
/* try adding/removing the `fill` keyword to see how that affects the middle slice of the image and its application as a background image */
/* also change the value of the slice sizes, use one-value, two-value, three-value, and four-value syntax
to get a clearer idea of how they work */
border-image-slice: 27;
}