CSS Background and Borders

CSS Background and Borders is a module of CSS that defines how background and borders of elements are described. Borders can be lines or images, boxes can have one or multiple backgrounds, have rounded corners, and shadows.

Reference

CSS Properties

Guides

Using CSS multiple backgrounds
Explains how to set backgrounds on elements and how they will interact with it.
Scaling background images
Describes how to change the appearance of the background images, by stretching them or repeating them, to cover the whole background of the element, or not.

Specifications

Specification Status Comment
CSS Backgrounds and Borders Module Level 3 Candidate Recommendation  
CSS Level 2 (Revision 1) Recommendation  
CSS Level 1 Recommendation  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1.0 1.0 (1.7 or earlier) 4.0 3.5 1.0 (85)
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support (Yes) 1.0 (1.9.2) (Yes) (Yes) 1.0

Document Tags and Contributors

 Contributors to this page: fscholz, teoli
 Last updated by: fscholz,