【发布时间】:2023-03-08 09:09:01
【问题描述】:
我尝试使用 Animate.css (https://animate.style/) 为 html 文件中的某些文本设置动画,但该文本未设置动画。
我使用了两种方法,但似乎都不起作用:
- 来自 CDN
和
这是我的代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
<title>Animate.css</title>
<!-- <link rel="stylesheet" type="text/css" href="style.css"> -->
</head>
<body>
<h1 class="animated infinite jello">Animate Me</h1>
</body>
</html>
我可以知道我的代码的哪一部分出错了。感谢您的善意建议。
【问题讨论】: