我使用-webkit-border-image
来指定我的主精灵图像的风格。精灵图像是一堆按钮图像。我用什么样式属性来索引我的主精灵图片?-webkit-border-image与css精灵
.red {
-webkit-border-image: url(sprite.png) 0 14 0 14;
}
红色按钮精灵在x = 0,y = 21。
我使用哪些属性?如果是背景我会使用background-position
。我不确定-webkit-border-image
使用什么。