看一看here。为什么图像的一部分隐藏
当你点击一个瓷砖后,一个房子精灵应该贴在这个瓷砖上并完全显示。图像需要跨越多个图块但是,精灵将被相邻的图块覆盖。这是为什么?
.div {
background: none repeat scroll 0 0 red;
display: inline-block;
height: 20px;
width: 20px;
vertical-align:top;
transition: all 500ms ease-in-out;
cursor: url(house.png) 1 20, pointer;
}
它涵盖的div的背景,右方和下方它 – 2013-04-04 17:16:39
这怎么解决? – Dharman 2013-04-04 17:17:32