I am struggling to place a border image above another image. The border image is not straight, so I need the overlays to be on top of the image instead of behind it. I attempted using z-index, but it did not work as expected. The border image does not appear above my image.
You can view the fiddle here.
Below is the code I have tried:
.sprocket-mosaic-image-container {
position: absolute;
border-style:solid;
border-width: 60px 28px 87px 24px;
-moz-border-image: url(http://i.imgur.com/qfJxhX2.png) 60 28 87 24 repeat;
-webkit-border-image: url(http://i.imgur.com/qfJxhX2.png) 60 28 87 24 repeat;
-o-border-image: url(http://i.imgur.com/qfJxhX2.png) 60 28 87 24 repeat;
border-image: url(http://i.imgur.com/qfJxhX2.png) 60 28 87 24 repeat;
z-index:1;
}
.sprocket-mosaic .sprocket-mosaic-image {
position:relative;
z-index:0;
}