这里跟大家分享一款jQuery的插件,即使用jQuery将文本有一定的动画效果。

jquery.texteffects.js

使用方法也很简单:

引入上述的js文件,然后给你的文本加上一个class,写如下jquery代码

这里是插件的些参数的设置方法:

Options

texteffect

The name of the effect to apply. "expand", "collapse", "drop", "undrop", "explode", "unexplode".

speed

Specifies the speed of the animation. "slow", "fast".

delay

Specifies a pause before the animation starts, in milliseconds (1000 is one second).

opacity

Set this to a value less than "1" to make the footer semi-transparent, for example "0.8".

大家可以点下面的链接下载实例代码。