Using css transform property in jQuery

前端 未结 5 585
广开言路
广开言路 2020-12-24 10:53

How can you specify cross-browser transform controls using jQuery since each browser seems to use its own methodology?

Here is the code I am using for Firefox but I

5条回答
  •  春和景丽
    2020-12-24 11:01

    If you're using jquery, jquery.transit is very simple and powerful lib that allows you to make your transformation while handling cross-browser compability for you. It can be as simple as this : $("#element").transition({x:'90px'}).

    Take it from this link : http://ricostacruz.com/jquery.transit/

提交回复
热议问题