Syntax | selector {border-bottom-color: value;}
|
---|---|
Usage | The border-bottom-color property is used to specify the color of the bottom border. See the Box Model for a description of the boxes that are generated for elements and the relative position of the borders. This property is specified by using a color-value, or a keyword, according to the syntax shown above. CSS Example: The border-bottom-color property is set using the keyword red. h1 {border: medium solid black;
border-bottom-color: red;
} CSS Example: The border-bottom-color property is set using a RGB 6-Digit Hexadecimal value of #ffa500. h1 {border: medium solid black;
border-bottom-color: #ffa500;
} CSS Example: The border-bottom-color property is set using a RGB Percentage Functional Notation value of rgb(30%,50%,70%). h1 {border: medium solid black;
border-bottom-color: rgb(30%,50%,70%);
} |
Keywords |
|
Applies To | All elements |
Inherited | No |
Initial Value | The same as the value of the color property |
The border-bottom-color property is set using the keyword red. The border-bottom-color property is set using a RGB 6-Digit Hexadecimal value of #ffa500. The border-bottom-color property is set using a RGB Percentage Functional Notation value of rgb(30%,50%,70%). |