问题
I am using animate.css but it don't seem to work in firefox. The code I am using is:
<html>
<head>
<link rel="stylesheet" href="animate.css"/>
</head>
<body>
<div class="rotateIn"> content</div>
</body>
</html>
I want this div to show rotate in effect when we load the page but it don't seem to work.
回答1:
you have to use animated
class if you want to show animations try this
<html>
<head>
<link rel="stylesheet" href="animate.css"/>
</head>
<body>
<div class="animated rotateIn"> content</div>
</body>
</html>
回答2:
Long story short: http://jsfiddle.net/3ZLLm/
You MUST use the animated
class provided.
So, to add further, it should be:
<div class="animated rotateIn"> content</div>
来源:https://stackoverflow.com/questions/20920288/animate-css-not-working