CSS3 Background

Background-origin, background-clip, background-size

Background origin

border-box

border-box

padding box

padding box

content box

content box

Background clip

border-box

border-box

padding box

padding box

content box

content box

Background Size

.background-size { background-size: 250px 250px; }

.background-size { background-size: 60%; }

.background-size { background-size: 80%; }

.background-size { background-size: 100%; }

.background-size { background-size: auto; }

อย่าลืม View source นะครับ