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
Post a Comment