div{ border: 30px solid; border-image-source: url(images/border-diamonds.png); border-image-repeat: repeat; border-image-slice: 30; width: 150px; height: 150px; }