I am currently working with a JavaScript fiddle that has a background image that I am using as a cover without distorting the image.
My goal is to add a gradient on top of this image, but despite finding similar questions, I can't seem to make it work (the gradient does not appear).
Is there a way to maintain the following properties:
background-size: cover;
background-position: center;
background-image: url(pathToImg);
while also adding a gradient?