【发布时间】:2016-08-23 13:36:07
【问题描述】:
在某些情况下,我需要在不使用 src 属性的情况下停止 background-image 属性中使用的 gif 图像。请帮助在 javascript 或 jquery 中找到解决方案。谢谢。
例如:
background-image: url('http://www.webdeveloper.com/imagesvr_ce/webdeveloper/animation/bnifiles//knight.gif');}
【问题讨论】:
-
换成静态图片。
标签: javascript jquery css background-image animated-gif