2
可能重复:
Correct way to animate box-shadow with jQueryjQuery框阴影动画 - 可能吗?
如何使用动画()函数?
我试过这个解决方案: Correct way to animate box-shadow with jQuery
像
...
.animate({
marginTop: '-20px',
marginLeft: '-20px',
width: '200px',
height: '200px',
'boxShadowX': '10px',
'boxShadowY':'10px',
'boxShadowBlur': '20px'
}, 200);
...
,但它不工作...
感谢,认为作品:。d但不是在歌剧:( – Alex 2011-04-05 04:02:44
提交人声称它是一个歌剧的错误,我不能从我的身边测试你'动画应该可以工作,我想你忘了调用boxshadow.js脚本,我在我的答案中包含了链接。 – Hussein 2011-04-05 04:10:57