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
background
background-attachment
background-clip
background-color
background-image
(en-US)background-origin
background-position
background-repeat
(en-US)background-size
box-shadow
border
(en-US)border-bottom
(en-US)border-bottom-color
(en-US)border-bottom-left-radius
(en-US)border-bottom-right-radius
(en-US)border-bottom-style
(en-US)border-bottom-width
(en-US)border-collapse
(en-US)border-color
(en-US)border-image
(en-US)border-image-outset
(en-US)border-image-repeat
(en-US)border-image-slice
(en-US)border-image-source
(en-US)border-image-width
(en-US)border-left
border-left-color
border-left-style
(en-US)border-left-width
(en-US)border-radius
border-right
(en-US)border-right-color
(en-US)border-right-style
(en-US)border-right-width
(en-US)border-style
(en-US)border-top
(en-US)border-top-color
(en-US)border-top-left-radius
(en-US)border-top-right-radius
(en-US)border-top-style
(en-US)border-top-width
(en-US)border-width
(en-US)
Guides
- Using CSS multiple backgrounds
-
Explains how to set backgrounds on elements and how they will interact with it.
- Scaling background images (en-US)
-
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 | Candidata a Recomendação | |
CSS Level 2 (Revision 1) | Recomendação | |
CSS Level 1 | Recomendação |