visionmedia / move.js

CSS3 backed JavaScript animation framework
http://visionmedia.github.com/move.js/
4.72k stars 686 forks source link

add rotateX and rotateY api #87

Open Gitsifu opened 3 years ago

axelpale commented 3 years ago

Seems okay to me. Anyone else having thoughts?

Gitsifu commented 3 years ago
            move('.square')
                    .set('background-color', 'red')
                    .duration(1000)
                    .end(function(){
                        move('.square')
                                .set('background-color', 'blue')
                                .duration(1000)
                                .end();
                    });

The above writing method is changed to the following writing method. Now it has no effect. Can it be made effective?

            move('.square')
                    .set('background-color', 'red')
                    .duration(1000)
                    .set('background-color', 'blue')
                    .duration(1000)
                    .end();