**效果展示**
过了这么久,又一次来写博客了,这一次写的是平常QQ空间中开心农场的效果,当然没有那里面的效果全了,就不废话了,看效果吧
代码展示
这是CSS样式
#bg{
width: 500px;
height: 280px;
background-image: url(images/plowland.jpg);
background-repeat: no-repeat;
position: absolute;
}
img{
position: absolute;
top: 56px;
left: 56px;
}
#seed{
background-image: url(images/btn_seed.png);
width: 56px;
height: 56px;
position: absolute;
top: 229px;
left: 30px;
cursor: hand;
}
#grow{
background-image: url(images/btn_grow.png);
width: 56px;