<div id="design">
<img src="photo-1511692277506-3be3a7ab1686">
<div class="rotatedBorder"></div>
<div class="imageCopy"></div>
<div class="imageCopy"></div>
</div>
#design {
position: relative;
width: 300px;
height: 300px;
margin: auto;
margin-top: 100px;
}
#design > * {
position: absolute;
height: 100%;
width: 100%;
}
.rotatedBorder {
border: 8px solid red;
box-sizing: border-box;
width: 100%;
height: 100%;
transform: rotate(45deg);
}
#design > .imageCopy {
width: 50%;
height: 50%;
background-image: url('photo-1511692277506-3be3a7ab1686');
background-repeat: no-repeat;
background-size: 200%;
}
#design > .imageCopy:nth-child(3) {
top: 0;
left: 0;
background-position: top left;
}
#design > .imageCopy:nth-child(3) {
bottom: 0;
right: 0;
left: auto;
top: auto;
background-position: bottom right;
}
#design > img {
box-shadow: 0 0 20px #bac3c3;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.