<div class="design">
  <img src="//www.w3cplus.com/sites/default/files/blogs/2019/1910/photo-1511692277506-3be3a7ab1686.jpeg" alt="">
</div>
body {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.design {
  position: relative;
  height: 300px;
  width: 300px;
}

.design > * {
  position: absolute;
  height: 100%;
  width: 100%;
}

.design {
  
  &::before,
  &::after {
    content: '';
    transform: rotate(45deg);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 15px solid #eb311f;
    position: absolute;
    left: 0;
    top: 0;
    filter: drop-shadow(0 0 5px #eb311f);
  }
  
  &::before {
    border-color: transparent #eb311f;
    z-index: 1;
  }
  
  img {
    z-index: 2;
  }
  
  &::after {
    border-color:#eb311f transparent ;
    z-index: 3;
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.