Datasets:
File size: 786 Bytes
c3d5f0d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <!DOCTYPE html>
<html>
<head>
<style>body {
background-color: #DEF3F4;
overflow: hidden;
text-align: center;
}
body,
html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#animationWindow {
width: 100%;
height: 100%;
overflow:visible;
position:relative;
display:inline-block;
}</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/4.8.0/bodymovin.min.js"></script>
</head>
<body>
<div id="animationWindow">
</div>
<script> var animData = {
wrapper: document.querySelector('#animationWindow'),
animType: 'svg',
loop: true,
prerender: true,
autoplay: true,
path: 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/35984/jump_loader.json'
};
var anim = bodymovin.loadAnimation(animData);
anim.setSpeed(1.42);
</script>
</body>
</html> |