.back-img{position:relative;overflow:hidden}.back-img:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:1}