你好,我有以下内容
<p style="text-align:center;margin-top: 50px;"><a href="#" class="pictogram" style="position:relative;" id="arrow" ></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/