Is it possible to create an alpha mask like this in CSS (f.ex: http://www.script-tutorials.com/demos/360/images/twinkling.png) and then apply it to the background image below?
EDIT: I will give some more background because I think I am getting answers to a different question. The image linked above works overlapping some black circles on top of an image. The problem is that it always uses black colours, and if the background image has a black bakground, it works fine (it hides the bg image). The problem comes if the background image has, f.ex. a blue background. Then the image will overlap black circles over the bg image, and it will not create the effect of the intended masking. To give an idea:
So what I am trying is to get the circles as an alpha channel, that work on the image below. So not black with transparency, but black and white like an alpha channel that is applied to the image below.
Note that there will be 2 layers: for example the kiwis in one image with transparent background and below a black background. Or the dog in an image and below another blue image. So what I need is a mask that applies to the kiwi or the dog image.