0.1.0 • Published 2 years ago
animation-pack v0.1.0
Animation Pack
Animations
- Perspective
- FlyingAway
Usage
<body>
<div class="perspective-demo">Perspective Demo Perspective Demo Perspective Demo Perspective Demo Perspective Demo</div>
<script>
new Perspective(document.querySelector('.perspective-demo'), {perspective: 2000, maxRotateX: 20, maxRotateY: 20})
</script>
</body>