jQuery: how to fade between classes?

前端 未结 4 1225
一个人的身影
一个人的身影 2020-12-19 07:40

I need to be able to fade between classes and seamlessly transition any and all styles being applied to the element and its children. How can this be done using jQuery? I kn

4条回答
  •  猫巷女王i
    2020-12-19 08:01

    Try fadeIn.

    $(".myClass").fadeIn("slow");
    

    http://api.jquery.com/fadeIn/

    Although depending on the complexity you may need jQuery UI as other have mentioned.

提交回复
热议问题