Gradients hidden using SVG symbols

后端 未结 1 336
一生所求
一生所求 2021-01-12 16:15

I am using SVG symbols this way, but the display:none of the SVG is hidden the gradients of the graphic. Any idea?

In the example below, there should be

1条回答
  •  星月不相逢
    2021-01-12 16:43

    Instead of display: none, you can just use width="0" height="0".

    
      
        
        
           
           
        
      
      
        
        
      
     
    
    

    0 讨论(0)
提交回复
热议问题