How do we add css + animation in jquery?

后端 未结 5 1770
耶瑟儿~
耶瑟儿~ 2021-02-15 12:26

Here is a little snippet of what I\'m trying to do:

$(\'#why-red a\').hover(function() {
    $(this).animate({ -webkit-transform: \'scale(1.1)\'  }, \'slow\');           


        
5条回答
  •  星月不相逢
    2021-02-15 12:58

    see the Demos of Jquery having great source.

    http://jqueryui.com/demos/toggleClass/

    Color Animation Class Animation Show Hide

    Just on the fly..

提交回复
热议问题