<!DOCTYPE?HTML>
<html>
<head>
?????<meta?charset="UTF-8">
?????<title>A</title>
<link?rel="stylesheet"?href="css/quick.css">
?????<script?type="text/javascript"??src="js/jquery.js"></script>
?????<script?type="text/javascript"??src="js/velocity.min.js"></script>
?????<script?type="text/javascript"??src="js/velocity.ui.min.js"></script>
</head>
<body>
<div?id="box2"??class="sc">
????aaa
</div>
<script?type="text/javascript"??src="js/script.js"></script>
</body>
</html>
(function($){
?????$('#box2').velocity({width:'300px'});
})(jQuery);
2017-05-28
謝謝你,如果有空可否勞駕看一下我在3-3提出的問題,都是運行不出來,
2017-05-28
首先、你的?$('#box2').velocity({width:'300px'});沒有寫動畫時間”duration:3000“
其次、不知道你的css文件里面有沒有給box2編寫樣式