通过CSS模糊图像? [英] Blurring an image via CSS?

查看:102
本文介绍了通过CSS模糊图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在许多智能手机(例如三星Galaxy II)上,当您浏览照片库时,其模糊副本会在背景中显示。这可以通过CSS动态实现(即,没有照片的副本准备预先保存)?是否有任何种类的复杂的CSS图像过滤器来模糊图像?

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 dynamically (ie. without the copy of the photo being prepared upfront saved)? Is there any kind of complex CSS image filter to blur an image?

推荐答案

您可以使用 CSS3过滤器。它们相对容易实现,虽然只在webkit的支持。三星Galaxy 2的浏览器应该支持,因为我认为这是一个webkit浏览器?

You can use CSS3 filters. They are relatively easy to implement, though are only supported on webkit at the minute. Samsung Galaxy 2's browser should support though, as I think that's a webkit browser?

这篇关于通过CSS模糊图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆