If you have an image that covers an entire element through CSS like this
#myDiv {background-image: url("../images/background.jpg "); background-repeat: no-repeat; background-size: cover; background-position: center;}
Now, what if you want to add a gray overlay on the left side of the image similar to the examples shown below?
Is there a way to achieve this effect? It doesn't have to be identical, just something similar.
https://i.sstatic.net/DsXH4.png https://i.sstatic.net/w3YuE.png