有没有办法模仿photoshop的覆盖过滤器与CSS? [英] Is there a way to mimic photoshop's overlay filter with CSS?

查看:155
本文介绍了有没有办法模仿photoshop的覆盖过滤器与CSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

覆盖混合会改变顶部图像的颜色,而不是仅仅改变透明度。有没有办法用CSS模拟这个?只要汇出图层设为叠加层并将其放在网页背景上的photoshop图片就行不通了。

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.

推荐答案

它不能用纯CSS完成,但它可以用javascript来完成。查看 Pixastic的混合功能,它有大约20个混合方法,与photoshop中的匹配。

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.

这篇关于有没有办法模仿photoshop的覆盖过滤器与CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆