removeClass and fade animation

后端 未结 4 821
抹茶落季
抹茶落季 2021-01-19 01:46

I have this code

  • LINK1
4条回答
  •  生来不讨喜
    2021-01-19 02:10

    You can't fade from one class to another. You have to tell jQuery what properties to animate in the .animate() method.

    To get the next li element, use .next().

提交回复
热议问题