답변 2개
채택된 답변
+20 포인트
10년 전
Copy
<script src="http://code.jquery.com/jquery-1.11.1.js"></script> <script>$(function() { $("#test").animate({"top":"300px"}, 2000);});</script><style>#test { width:100px; height:100px; background:#000; position:absolute; top:-100px;}</style><div id="test"></div>
animate() 쓰시면 됩니다.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인