Gaussian Blur onHover Using jQuery

后端 未结 4 1219
我在风中等你
我在风中等你 2020-12-01 13:27

I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, i

4条回答
  •  隐瞒了意图╮
    2020-12-01 14:07

    filter: blur(10px);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: url(blur.svg#blur);
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='10');
    

    content of blur.svg

    
      
        
      
    
    

    More : http://demosthenes.info/blog/534/Crossbrowser-Image-Blur

提交回复
热议问题