abstract:<!DOCTYPE html><html><head> <title>jQuery事件</title> <script type="text/javascript" src="js/jquery-3-3.1.min.js"></script> <script type=
<!DOCTYPE html>
<html>
<head>
<title>jQuery事件</title>
<script type="text/javascript" src="js/jquery-3-3.1.min.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<script type="text/javascript">
$(document).ready(function(){
$('but1').click(function(){
$('p').animate({fontSize:'40px'},1500)
})
})
</script>
<button class="but1">点击字体放大</button>
<p>jQuery中我们的使用 animate()方法创建自定义的动画</p>
</body>
</html>