Blurring an image via CSS?

后端 未结 6 763
不知归路
不知归路 2020-12-08 13:13

On many smartphones (Samsung Galaxy II being an example) when you browse through a photo gallery, its blurred copy is laid out in the background. Can this be achieved by CSS

6条回答
  •  天命终不由人
    2020-12-08 13:28

    This code is working for blur effect for all browsers.

    filter: blur(10px);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    

提交回复
热议问题