Answer the question
In order to leave comments, you need to log in
How to make a translucent gradient over an image?
Hello. There is a background image inserted not through css. I want to make a transparent gradient at the bottom of the image (as with a mask in Photoshop), I googled, I saw a lot of options, filters (css, svg), masks, gradients, etc., but something didn’t work out. Can anyone suggest something useful? )
Answer the question
In order to leave comments, you need to log in
So? jsfiddle.net/4uvgu3sh/2
What exactly doesn't work for you?
Yes, but I do not insert images through bg.
<div class="header-bg-img">
<img src="images/img.jpg" alt="">
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question