仅使用 css3 就可以获得动画颜色吗?
这是关于我想获得演示效果的演示。
该演示使用jquery.color.js
.
$(document).ready(function() {
$('.replace-bg-on-hover').hover(
function() {
$(this).animate({
backgroundColor: "#333"
}, 500);
return false;
}, function() {
$(this).animate({
backgroundColor: "#6CA2FF"
}, 500);
return false;
});
});