<div class="xxx" style="background-image:linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.0) 70%), url('https://xyz.com/image.jpg')">