0

我是 textilate.js 的新手(http://jschr.github.io/textillate/)有谁知道如何增加 textilate.js 上的动画速度 请帮帮我....

4

2 回答 2

1

使用 delayScale 选项。

所以它看起来像这样:

jQuery(function () {
    jQuery('ElementName').textillate({ in : {
            effect: 'rollIn',
             delayScale: .5,
        },
        out: {
            effect: 'hinge'
        },
        loop: false
    });
});
于 2014-01-09T20:49:32.250 回答
0

Textillate.js 使用 animate.css 所以如果你的效果恰好是fadeInUp,在 animate.css 中找到类.fadeInUp并添加以下内容:

-webkit-animation-duration: 1s;
animation-duration: 1s;

您可以将持续时间从 1 秒调整为 0.5 秒,以使其更快。

于 2015-06-03T09:44:59.163 回答