CSS or JavaScript Div Blur magic

浪尽此生 提交于 2019-12-06 07:01:30

I think you can implement using css! please check out

http://www.w3schools.com/svg/svg_fegaussianblur.asp

You can use alot of different filters by declaring them like

<filter id="f1" x="0" y="0">
      <feGaussianBlur in="SourceGraphic" stdDeviation="15" />
</filter>

these can be black and white filters, cyanotype etc. From there just reference it on the object using filter='url(#f1)'

EDIT

CAN BE DONE USING BLUR CSS

http://jsfiddle.net/SvH6w/6/

You could possibly do it using BlurJs , check out the demo: http://www.blurjs.com/simpledemo.html

They are using a canvas and sets it as a background image

/* from the page: */
background-image: -webkit-canvas(blurredDerivativeForButtonsc245);

you can do all the blurring on the canvas content.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!