javascript animate elements

JavaScript
document.getElementById("tunnel").animate([
  // keyframes
  { transform: 'translateY(0px)' },
  { transform: 'translateY(-300px)' }
], {
  // timing options
  duration: 1000,
  iterations: Infinity
});
var  ondersteundFlag  =  $ . sleutelframe . isSupported ( ) ;< script  src = ' /path/to/jquery.keyframes [.min ] .js ' > </ script >
Source

Also in JavaScript: