JSFiddle - React, Tailwind, and code Playground

HTML

<div class="image"></div>

CSS

.image {
    width: 200px;
    height: 200px;
    position: relative;
    
    background: #eee;
    bottom: 1px solid  #333;
}
    .image:before,
    .image:after {
        position: absolute;
        width: 40px;
        height: 20px;
        -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
    
        content: '';
        
        background: #fff;
    }
    .image:before {
        top:-10px;
        left: -20px;        
        box-shadow: 0 -7px 3px -7px rgba(0,0,0,.5);
    }
    .image:after {
        right: -20px;
        bottom: -10px;
        box-shadow: 0 7px 3px -7px rgba(0,0,0,.5);
    }