Reputation: 809
i want to select 5px of this image (Sprites) and repeat it as a background
19px left side - 5px in the middle - 19px right side
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;}
Upvotes: 0
Views: 157