<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: 80%;
}

.element {
  padding: 20px;
  margin: 30px auto;
  min-height: 300px;
  background-color: white;
  border-image-source: url(http://tympanus.net/codrops-playground/assets/images/cssref/properties/border-image-repeat/border-img.png);
  border-image-width: 27px;
  border-image-slice: 27 fill;
  /* fill keyword makes sure the center part is preserved, so u can see how it is affected
  by the different values of the border-image-repeat property */
  border-image-repeat: stretch round;
}