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
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 |