what's a flood-color and lighting-color definition in CSS?

后端 未结 2 2040
无人共我
无人共我 2021-01-11 17:34

Way cool, i\'d just realised there is something called flood-color and lighting-color in CSS. Does anyone know what is a flood-color a

2条回答
  •  滥情空心
    2021-01-11 17:46

    The spec wasn't very helpful when I looked this up.
    Try https://developer.mozilla.org/en-US/docs/Applying_SVG_effects_to_HTML_content

    There are three styles you may apply: you may use mask, clip-path, or filter.

    The only time I've ever needed to use this was when I wanted to invert graphics using XOR.

    Define the SVG filter:

    
        
            
            
        
    
    

    Apply using CSS:

    
    

提交回复
热议问题