The overlay blend alters the color of the image on top, as opposed to just altering the transparency. Is there a way to mimic this with CSS? Just exporting a photoshop image with the layer set to overlay and placing it over a background on the web page doesn't work.
3 Answers
9
votes
It can't be done with pure css, but it can be done with javascript. Check out Pixastic's blend function, it has ~20 blending methods that match those in photoshop.
Note: this answer has become less accurate over the years. The mix-blend-mode
attribute now works across most browsers, and pixastic seems to have disappeared.
1
votes