【问题标题】:Trying to use Animate.css pulse but its not working尝试使用 Animate.css 脉冲但它不起作用
【发布时间】:2018-07-04 00:47:21
【问题描述】:

我尝试在我的图库照片上使用 Animate.css 中的脉冲功能,但它不起作用。

我使用了 Animate.css CDN - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css" />

然后我将class="pulse" 添加到我的img 中,但什么也没发生。我还缺少另一个步骤吗?

【问题讨论】:

  • 你错过了添加animated类吗?

标签: css css-animations animate.css


【解决方案1】:

参考 Github 页面的 README.md 文件(他们的 front page)。他们概述了基本使用的 3 个步骤。

  1. 包括样式表。
  2. animated 类添加到其中。
  3. 添加您想要使用的效果(在同一页面的表格中列出)。

希望有帮助!

(直接提到你的问题,我建议尝试class="animated pulse"而不是你现在拥有的)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-01-05
    • 2021-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-26
    相关资源
    最近更新 更多