I have a container with an opacity of 0.8. At the background, I have an image that shines through the content div. Now, I have a photo of my client in this
Opacity applies to the element and any children / content in the element.
For partially transparent colos use RGBA bg colours.
For partially transparent background images, a JS/JQ solution is required.