html - 使用 Animate.css 动画化 anchor 标签

标签 html css animation

你好,我有以下内容

<p style="text-align:center;margin-top: 50px;"><a href="#" class="pictogram" style="position:relative;" id="arrow" >&#59236;</a></p>

我正在使用 Daniel Eden 的 animate.css。如果我将“animated shake”类添加到 anchor 标记,它就不起作用。但是,如果我将它添加到 p 标签中,它就会起作用。

知道哪里出了问题吗?

最佳答案

根据评论转录,因为它已为 OP 解决;

尝试添加 display: inline-block; 并删除 position: relative;

祝你好运!

关于html - 使用 Animate.css 动画化 anchor 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15862015/

相关文章:

html - 字体在旧版浏览器中显示为 Times New Roman

javascript - 动画步骤函数中的 jQuery 对象在每次函数调用时返回 "undefined"

html - 如何使 div 和链接内联?

HTML UL CSS 边框样式

javascript - 如何使用 Fullpage JS 在部分创建自己的链接

javascript - 等待动态时间后添加类(class)

objective-c - 用数字动画 UILabel

javascript - 该代码未在浏览器中为 cookie 生成文件

html - CSS 下划线动画导致 safari 闪烁,找到解决方案但导致文字模糊

css - 隔离在 DIV 中定义的样式,这样它们就不会影响网页的其余部分