Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

animate javascript

element..animate([
			// keyframes
			{
				top: '-80%'
			},
			{
				top: '0'
			}
		], {
			duration: 700,
			fill: 'both',
			easing: 'ease-in-out'
			// iterations: Infinity
			
		});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #animate #javascript
ADD COMMENT
Topic
Name
2+5 =