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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -