//兼容性:ie6+
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>demo</title>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery.color.js"></script>
</head>
<style>
* {padding: 0; margin: 0;}
div {width: 100px; height: 100px; background: red;}
</style>
<body>
<input class="btn1" type="button" value="变色" />
<div></div>
<script>
$(".btn1").click(function() {
$("div").animate({
"backgroundColor": "blue",
"width": 200
});
});
</script>
</body>
</html>