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

前端之家收集整理的这篇文章主要介绍了HTML – CSS中的泛色和灯光颜色定义是什么?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
很酷,我只是意识到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

原文链接:https://www.f2er.com/html/227695.html

猜你在找的HTML相关文章