<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="https://github.com/daneden/animate.css/blob/master/animate.min.css">
<script>
$(".article-title a").hover(function(){
$("this").addClass("animated shake");},
function(){
$("this").removeClass("animated shake");
});
</script>
</head>
<body>
<h1 class="article-title">
<a href="#">ASDFHHLHLHLHLHLH</a>
</h1>
</body>
</html>希望的效果是鼠标经过H1标题的时候,文字出现shake效果.
animate.css 是一个开源的动画效果库 官网:https://daneden.github.io/animate.css/
但是我在使用的时候发现出不来效果,求帮助
puffbaby
woshiajuana
老猿
六道骸
慕粉3232243
损失函数
随时随地看视频慕课网APP
相关分类