Last active
November 25, 2019 08:24
-
-
Save jdnichollsc/a8fc14daa04c7bd7a167afa5bbf26bdd to your computer and use it in GitHub Desktop.
<animatable/> with VanillaJS (Proof that Tony Stark has a heart ✵) - https://proyecto26.github.io/animatable-component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add Web Animations Polyfill :) --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.2/web-animations.min.js"></script> | |
<script type="module" src="https://unpkg.com/@proyecto26/animatable-component@1.0.0/dist/animatable-component/animatable-component.esm.js"></script> | |
<script nomodule="" src="https://unpkg.com/@proyecto26/animatable-component@1.0.0/dist/animatable-component/animatable-component.js"></script> | |
<animatable-component autoplay iterations="3" animation="heartBeat" easing="ease-in" duration="1000"> | |
<h1>Proof that Tony Stark has a heart ✵</h1> | |
</animatable-component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment