Help me move Burt Reynolds Face - jQuery

前端 未结 2 1885
说谎
说谎 2021-02-14 22:57

I have a problem with jQuery moving Burt Reynolds face around on the page.

My code thus far is:

        function moveBurt() {
          $(\'.burt\').ani         


        
2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-14 23:42

    how about -

    function moveBurt() {
                  $('.burt').animate({'left' : "-=100px"}, 3000, 'linear');
                }
    

提交回复
热议问题