Home
Diese Seite wird zurzeit editiert.Folgende Änderungen werden vorgenommen:
Design
Inhalt
Achtung!!! bitte schalten Sie diese dämliche Werbung über der Seite mit AdBlock aus!!!!!!!!!!
// see http://paulirish.com/2011/requestanimationframe-for-smart-animating/ for info on rAF polyfills rAF = window.requestAnimationFrame; var degrees = 0; function update(timestamp) { document.querySelector('#foo').style.webkitTransform = "rotate(" + degrees + "deg)"; console.log('updated to degrees ' + degrees); degrees = degrees + 1; rAF(update); } rAF(update); // tools like Modernizr (http://modernizr.com/) can help with CSS polyfills #foo { +animation-duration: 3s; +animation-timing-function: linear; +animation-animation-iteration-count: infinite; +animation-animation-name: rotate; } @+keyframes: rotate; { from { +transform: rotate(0deg); } to { +transform: rotate(360deg); } }