CSS GUIDE BORDER-BOTTOM-COLOR
Contents
Summary
This property is used to set the color of a given elements bottom border.
- Inherited: No
- Percentages: N/A
- Media: visual
Syntax
TARGET_ELEMENT{border-bottom-color: value;}
Legal Values
Values can be entered in 3 ways:
Method | Range | Example |
---|---|---|
Hexadecimal (preferred) | #000000 - #ffffff | #00ff00 is green |
Color name | W3Schools Natural Langauge Color Names | green |
RGB value | 0-255 | rgb(102,204,102) is green |
See usage examples section for more details.
Mozilla Recommended Values
Usage Examples
table{border-bottom-color: #ff3366;}
table{border-bottom-color: rgb(255,0,0);}
Notes
Specification Conformance
Browser Compatibility
See Also
- border-bottom-style
- border-bottom-width