basic animation
This commit is contained in:
8
javascript/anime.min.js
vendored
Normal file
8
javascript/anime.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
38
javascript/main.js
Normal file
38
javascript/main.js
Normal file
@ -0,0 +1,38 @@
|
||||
anime({
|
||||
targets: '#human',
|
||||
opacity: 1,
|
||||
duration: 2000,
|
||||
easing: 'easeInOutExpo'
|
||||
});
|
||||
|
||||
anime({
|
||||
targets: '#brain',
|
||||
opacity: 1,
|
||||
duration: 2000,
|
||||
delay: 1000,
|
||||
easing: 'easeInOutExpo'
|
||||
});
|
||||
|
||||
anime({
|
||||
targets: '#brain-projection',
|
||||
opacity: 1,
|
||||
duration: 2000,
|
||||
delay: 1000,
|
||||
easing: 'easeInOutExpo'
|
||||
});
|
||||
|
||||
anime({
|
||||
targets: '#Alcohol',
|
||||
opacity: 1,
|
||||
duration: 2000,
|
||||
delay: 2000,
|
||||
easing: 'easeInOutExpo'
|
||||
});
|
||||
|
||||
anime({
|
||||
targets: '#connection-rectangle',
|
||||
opacity: 1,
|
||||
duration: 1000,
|
||||
delay: 3000,
|
||||
easing: 'easeInOutExpo'
|
||||
});
|
Reference in New Issue
Block a user