diff --git a/.gitignore b/.gitignore index e0c8856..34e1bd4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .DS_Store node_modules *.sock +*.sublime-project +*.sublime-workspace \ No newline at end of file diff --git a/.npmignore b/.npmignore index f1250e5..1fd4b57 100644 --- a/.npmignore +++ b/.npmignore @@ -2,3 +2,5 @@ support test examples *.sock +*.sublime-project +*.sublime-workspace diff --git a/examples/docs.html b/examples/docs.html index 09298cf..b85de95 100644 --- a/examples/docs.html +++ b/examples/docs.html @@ -149,7 +149,56 @@ .pop() .end(); }); + play(14, function(){ + move('#example-14 .box') + .animate({ + 0: { + transform: 'skew(50)' + }, + 10: { + 'margin-left': '200px', + transform: 'rotate(90deg)', + 'border-radius': '20px' + }, + 30: { + 'margin-left': '20px', + transform: 'rotate(90deg)' + }, + 80: { + transform: 'rotate(90deg)', + 'border-radius': '10px' + }, + 90: { + 'margin-left': '60px', + transform: 'rotate(25deg)', + 'border-radius': '5px' + }, + 100: { + 'margin-left': '0px', + transform: 'rotate(25deg)', + 'border-radius': '5px' + } + }, { + duration: '3s', + 'iteration-count': 3 + }) + .animate({ + '0%': { + height: '50px', + background: 'green' + }, + '50%': { + height: '30px', + background: 'black' + }, + '100%': { + height: '50px', + background: 'white' + } + }, '4s 1').end(); + }); }, false); +