為什么我的movs動(dòng)畫一直無(wú)法實(shí)現(xiàn)呢?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>無(wú)標(biāo)題文檔</title>
<link rel="stylesheet">
<script src="jquery-3.3.1.min.js"></script>
<script src="https://cdn.bootcss.com/fullPage.js/2.6.7/jquery.fullPage.js"></script>
<script src="https://cdn.bootcss.com/fullPage.js/2.6.7/vendors/jquery.easings.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/move.js/0.5.0/move.js"></script>
<link rel="stylesheet" href="stylp.css">
<style type="text/css">
</style>
</head>
<body>
<div id="fullpage">
? ? <div class="section section1"><h1>它終于來(lái)了</h1>
<p>MOOC學(xué)院(慕課) 推薦課程 全部課程 Introduction to Classical Music 古典音樂(lè)導(dǎo)論 生活英語(yǔ)聽(tīng)說(shuō) 文物精品與文化中國(guó)</p>
? ? ? ? <a href="#">進(jìn)一步了解</a>
? ? </div>
? ? ? ? <div class="section"></div>
? ? ? ? <div class="section"></div>
? ? ? ? <div class="section"></div>
? ? </div>
</body>
<script>
$(document).ready(function() {
?$('#fullpage').fullpage({
verticalCentered:false,
anchors:['page1','page2','page3','page4'],
navigation:true,
navigationTooltips:[],
afterLoad:function(anchorLink,index){
switch(index){
case 1:
move('.section1 h1').scale(1.5).end();
move('.section p').set('margin-top','5%').end();
}
},
});
});
</script>
</html>