To create a CSS3 rounded corner box, simply start with your box element and apply your 4 corner images, separated by commas.
.box {background-image: url(top-left.gif), url(top-right.gif), url(bottom-left.gif), url(bottom-right.gif);}
.box {background-image: url(top-left.gif), url(top-right.gif), url(bottom-left.gif), url(bottom-right.gif);background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;}
.box {background-image: url(top-left.gif), url(top-right.gif), url(bottom-left.gif), url(bottom-right.gif);background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;background-position: top left, top right, bottom left, bottom right;}

2 comments:
如果你不思考未來,你便不會有未來..................................................
If you lend someone $20 and never see that person again, it was probably worth it.............................................
Post a Comment