.cl-card-img { position:relative; }.cl-card-img:before { content: ''; width: 100%; height:100%; position:absolute; background:#ddd; left:0px; top:0px; background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 43%); }