加入收藏 | 设为首页 | 会员中心 | 我要投稿 源码网 (https://www.900php.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

HTML – CSS中的泛色和灯光颜色定义是什么?

发布时间:2020-12-25 08:42:38 所属栏目:资源 来源:网络整理
导读:很酷,我只是意识到CSS中有一些叫洪泛色和灯光色的东西.有谁知道什么是泛色和灯光颜色,他们做了什么? 这究竟是什么意思?: The ‘flood-color’ property indicates what color to use to flood the current filter primitive subregion. The keyword cur

很酷,我只是意识到CSS中有一些叫洪泛色和灯光色的东西.有谁知道什么是泛色和灯光颜色,他们做了什么?

这究竟是什么意思?:

The ‘flood-color’ property indicates what color to use to flood the
current filter primitive subregion. The keyword currentColor and ICC
colors can be specified in the same manner as within a
specification for the ‘fill’ and ‘stroke’ properties.

The ‘lighting-color’ property defines the color of the light source
for filter primitives ‘feDiffuseLighting’ and ‘feSpecularLighting’.

我们如何应用这些所谓的SVG效果?我已经尝试将灯光颜色设置为红色,但似乎没有任何效果.

解决方法

这些是SVG滤镜效果.

The ‘lighting-color’ property defines the color of the light source
for filter primitives ‘feDiffuseLighting’ and ‘feSpecularLighting’.

http://www.w3.org/TR/SVG/filters.html#LightingColorProperty

The ‘flood-opacity’ property defines the opacity value to use across
the entire filter primitive subregion.

http://www.w3.org/TR/SVG/filters.html#FloodColorProperty

(编辑:源码网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读