CSS:border-left-color
From MDC
[edit] Summary
border-left-color sets the color of the left border of an element, either through a color value or the keyword transparent.
- Initial value:
colorproperty - Applies to: all elements
- Inherited: no
- Percentages: N/A
- Media:
visual - Computed value: when taken from the 'color' property, the computed value of 'color'; otherwise, as specified
[edit] Syntax
border-lefet-color: color | transparent | inherit
[edit] Values
- color
- The color can be specified as a hexidecimal RGB value, a regular RGB value, or by using one of the pre-defined color keywords.
- transparent
- The element has no color of its own, instead showing the color of the element behind it.
[edit] Related properties
[edit] Examples
element {
width: 300px;
padding: 15px;
border-bottom-size: 1px;
border-bottom-style: solid;
border-bottom-color: #000;
}
[edit] Notes
[edit] Specifications
[edit] Browser Compatibility
| Browser | Lowest Version |
|---|---|
| Internet Explorer | 4 |
| Firefox | 1 |
| Netscape | 6 |
| Opera | 3.5 |