CSS Property: border-width, border-top-width, border-right-width, border-bottom-width, border-left-width
border-width specifies the width of a boxes complete border.
border-top-width specifies the width of a boxes top border.
border-right-width specifies the width of a boxes right border.
border-bottom-width specifies the width of a boxes bottom border.
border-left-width specifies the width of a boxes left border.
Possible Values
|
Example
#bender { border-left-width: 2px; } #fry { border-width: 1px 4px 1px 100px; }
CSS Property: border-color, border-top-color, border-right-color, border-bottom-color, border-left-color
border-color specifies the color of a boxes complete border.
border-top-color specifies the color of a boxes top border.
border-right-color specifies the color of a boxes right border.
border-bottom-color specifies the color of a boxes bottom border.
border-left-color specifies the color of a boxes left border.
Possible Values
|
Example
.flamingo { border-right-color: red; } #peach { border-color: #cc3421; } #tree { border-color: #fc0 blue #cf0; }