开发者

Glow effect with background color using jQuery

How can 开发者_运维技巧I add a subtle "glow" effect to a div element that will glow all the time/permanently, right after the page load, not just when hovered?

Unfortunately, the client wants me to make this work in IE7+.


Have you considered using an animated gif?

Match the solution to the client.


If it should glow permanently all the time, why use Javascript/jQuery at all? This could be done purely using CSS, either using CSS3 box-shadow to simulate glow or using images.

Here's a CSS3 example

To animate bg-color, check out this post

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜