blf*_*tes 1 html firefox filter effect css3
如果用户没有注册,我试图在我的照片库上获得模糊效果.我明白了,但仅限于镀铬.在我的Firefox 14.0.1(linux)中,我无法让它运行起来
我的html模板(我在django下开发)
<h2> Gallerie</h2>
<ul class="galeria" id="imagenes">
{% for image in gallery %}
{% if user.is_authenticated %}
<a rel="prettyPhoto[gallery]" href="{{image.url}}">
<img width="120px" height="120px" alt="{{image.comment}}" src="{{image.url}}"/>
</a>
{% else %}
<img class="blur" alt="{{image.comment}}" src="{{image.url}}"/>
{% endif %}
{% endfor %}
</ul>
Run Code Online (Sandbox Code Playgroud)
我的site.css
img.blur{
-webkit-filter: grayscale(0.5) blur(10px);
filter: grayscale(0.5) blur(10px);
width:120px;
height:120px;
}
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激.谢谢 :)
| 归档时间: |
|
| 查看次数: |
17292 次 |
| 最近记录: |