SVG filter only working when added in style attribute (Firefox)

前端 未结 7 540
醉酒成梦
醉酒成梦 2021-01-01 17:28

I added a blur effect svg to my HTML(text/html):


    ...
    
        ...
        

        
7条回答
  •  粉色の甜心
    2021-01-01 18:20

    It seems to work fine in firefox like so,

    HTML

    
       
           
       
    
    
    forest

    JSFIDDLE (with an image in the div)

    JSFIDDLE (with a background image on the div)

    Did you included the the svg code in your html markup?

提交回复
热议问题