css - Black Tint on Image Without Overlay - Firefox -


i have been able tint images in safari using following code:

-webkit-filter: grayscale; /*sepia, hue-rotate, invert....*/ -webkit-filter: brightness(50%);  

however, doesn't work in firefox. understand how image grayscale in firefox, don't want grayscale -- instead black tint able achieve above code in safari.

thank <3

use

img { filter: grayscale(.5); filter: brightness(.5); } 

in firefox

for more examples see mozilla guide filters


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -