Fading colors with jquery?

前端 未结 3 1222
余生分开走
余生分开走 2021-01-28 10:08

I have a regular color change using jquery, but I\'d like to have it so it has a smooth color change. At the moment, the code changes the color of a link on hover and then remov

3条回答
  •  一生所求
    2021-01-28 10:39

    Here's an easy way without using the extra jquery plugin. In fact, this is mostly done with css. Make 2 divs on top of each other and fade the top one. Like so: http://jsfiddle.net/Jny9x/

提交回复
热议问题