libin-1

textillate.js是一款强大的文字插件,若配合animate.css、fittext、lettering一起使用,这样做出来的文字特效很完美。

在线实例

实例演示

使用方法

  1. <div id="texts">Welcome To shouce</div>
复制
  1. $(function() { 
  2.     $(\'#texts\').fitText(3.2, {maxFontSize: 18}).textillate({initialDelay: 1000, in: {delay: 3, shuffle: true}}); 
  3. })
复制

参数详解

参数 描述 默认值
selector 目标选择器 .texts
loop 是否循环 false
minDisplayTime 最小间隔时间 2000
initialDelay 初始化间隔时间 0
in {       effect: \'fadeInLeftBig\',       delayScale: 1.5,       delay: 50,       sync: false,       reverse: false,       shuffle: false,       callback: function () {}     } -
out {       effect: \'hinge\',       delayScale: 1.5,       delay: 50,       sync: false,       reverse: false,       shuffle: false,       callback: function () {}     } -
autoStart 自动开始 true
callback 回调函数 function () {} -

分类:

技术点:

相关文章:

  • 2021-05-11
  • 2021-12-06
  • 2021-12-03
  • 2021-12-16
  • 2021-03-08
  • 2021-12-22
  • 2021-12-06
猜你喜欢
  • 2022-01-07
  • 2021-08-26
  • 2021-10-12
  • 2021-12-26
  • 2021-10-12
  • 2021-12-16
  • 2021-06-30
相关资源
相似解决方案