看这个:演示
HTML
<body class="image" id="BODY">
<button id="changeOrder" style="position:absolute;bottom:100px;left:100px">CHANGE IMAGE ORDER</button>
</body>
CSS
.image {
background: url(http://radiantq.com/wp-content/uploads/2011/11/software_box.png) no-repeat 10px 10px, url(http://www.hdwallpapers3d.com/wp-content/uploads/2013/04/Flower-wallpaper-29.jpg) no-repeat 90px 90px, url(http://3.bp.blogspot.com/-kEDW4tNSmpA/UYnb_TbNiqI/AAAAAAAAKlc/MuZ3D0k6xRs/s1600/wallpapers-of-Rose-Flower456.jpg) no-repeat 180px 180px;
background-size:100px 100px;
width:500px;
height: 500px;
}
.change {
background:url(http://www.hdwallpapers3d.com/wp-content/uploads/2013/04/Flower-wallpaper-29.jpg) no-repeat 10px 10px, url(http://radiantq.com/wp-content/uploads/2011/11/software_box.png) no-repeat 90px 90px, url(http://3.bp.blogspot.com/-kEDW4tNSmpA/UYnb_TbNiqI/AAAAAAAAKlc/MuZ3D0k6xRs/s1600/wallpapers-of-Rose-Flower456.jpg) no-repeat 180px 180px;
background-size:100px 100px;
width:500px;
height: 500px;
}
查询脚本
$("#changeOrder").click(function () {
$('#BODY').addClass('change');
});