1 Star 0 Fork 0

Jiang / gsap

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
set特性.html 629 Bytes
Copy Edit Web IDE Raw Blame History
Jiang authored 2019-07-17 22:33 . GSAP
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script src="js/TweenMax.js" type="text/javascript" charset="utf-8"></script>
<script src="js/Draggable.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function(){
TweenMax.set('img',{x:200})
Draggable.create('img',{type:"x,y",onDragEnd(){
TweenMax.to('img',1,{x:100})
}})
})
</script>
</head>
<body>
<img src="img/logo-onboard-video.svg" style="width: 100px;"/>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/qq34347476/gsap.git
git@gitee.com:qq34347476/gsap.git
qq34347476
gsap
gsap
master

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542