I need to use a full size picture as background and I need that picture to have a brightness filter.
Right now it is only working on Chrome
and Firefox
, the last one using svg.
This is what I have:
img.fullscreenIMG
{
display:block;
position:absolute;
z-index:1;
filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' ><filter id='bright30'><feComponentTransfer><feFuncR type='linear' slope='0.30'/><feFuncG type='linear' slope='0.30' /><feFuncB type='linear' slope='0.30' /></feComponentTransfer></filter></svg>#bright30");
filter: brightness(0.6);
-webkit-filter: brightness(0.6);
-moz-filter: brightness(0.6);
-o-filter: brightness(0.6);
-ms-filter: brightness(0.6);
}
Safari 5.1.7 for Windows
doesn't work with this, neither Internet Explorer 11.
What am I missing? Can you recommend me any other way to accomplish the same?
Thanks