CSS Border Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Sets the border properties. Used as a type of shortcut, instead of listing each property separately.
Syntax
border: [value1] [value2] ...
Possible values
- [border-width]
- [border-style]
- [border-color]
- inherit
Initial Value
Each individual property uses its initial value
Applies To
All elements
Inherited
No
Media
Visual
Example
P {border: 1px solid #FFF7B5}