jQuery: animate text color for input field?

后端 未结 6 945
逝去的感伤
逝去的感伤 2020-12-10 14:49

I\'ve got this really simple piece of code that I thought was the correct way to get jQuery to animate the text color for a given input field.

$(\'input\').         


        
6条回答
  •  误落风尘
    2020-12-10 15:49

    jQuery doesn't support color animations so you'll need the color plugin or, jQuery UI. Both allow you to use the syntax you're using for properties like background-color and color.

提交回复
热议问题