标签: css css3 background-position
我要选择此图片(精灵)的5像素并重复作为背景
左侧19px-中间5px-右侧19px
Div:first-child{background:url(frame.png) left center no-repeat;} Div:last-child{background:url(frame.png) right center no-repeat;} Div{background:url(frame.png) center center repeat-y;}