“anime.js” Kode Jawaban

tautan anime js

<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha512-z4OUqw38qNLpn1libAN9BsoDx6nbNFio5lA6CuTp9NlK83b89hgyCVq+N5FdBJptINztxn1Z3SaKSKUS5UP60Q==" crossorigin="anonymous"></script>
Windpool

anime.js

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/anime.min.js"></script>
Uptight Unicorn

Animej mengurangi kecepatan

anime({
  targets: '#thread',
  width: '100%', // -> from '28px' to '100%',
  easing: 'easeInOutQuad',
  direction: 'alternate',
  duration: 500,
  loop: true
});
Lioruby

anime.js

import anime from 'animejs/lib/anime.es.js';
Wicked Warbler

anime.js

$ npm install animejs --save
Wicked Warbler

anime.js

const anime = require('animejs');
Wicked Warbler

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya