Monday, 9 September 2013

CSS Background-image over HTML img

CSS Background-image over HTML img

I was wondering whether it's possible to get background-image to be on top
of all html img's in a certain div (like a sort of mask)
I tried:
#content img{
position:relative;
background-image:url('./images/image-mask-2.png');
z-index:100;
}
I need it as a mask on certain pages in wordpress.

No comments:

Post a Comment