html - Animate.css 不工作

标签 html css animation css-animations

我正在使用 animate.css但它似乎不适用于 firefox。我使用的代码是:

       <html>
        <head>
        <link rel="stylesheet" href="animate.css"/>
        </head>
        <body>
        <div class="rotateIn"> content</div>
        </body>
        </html>

我希望这个 div 在我们加载页面时显示有效的旋转,但它似乎不起作用。

最佳答案

如果你想显示动画,你必须使用animated类试试这个

    <html>
    <head>
    <link rel="stylesheet" href="animate.css"/>
    </head>
    <body>
    <div class="animated rotateIn"> content</div>
    </body>
    </html>

关于html - Animate.css 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20920288/

相关文章:

html - <img> inside <a> 得到蓝色边框

php - 表单标签是必需的吗?

jquery - 为什么我看似独立的网页对 jQuery 充耳不闻?

html - CSS 永远不会加载。无法编辑我的网站。缓存?

jQuery 动画因左/右自动边距而失败

html - Box2dWeb 缺少 ApplyLinearImpuse() 和 ApplyAngularImpulse() 方法吗?

php 返回整个 html 文件而不是字符串 (ajax)

html - 为什么我使用 white-space pre-wrap 和 word-space 在第一个空格上不起作用来设置空格的宽度

user-interface - Swing 动画 : is there a GUI library animation like jquery (javascript) but for java?

python - Matplotlib 动画要么在几帧后卡住,要么就是不工作