You are here : cssCSS 3border-color

border-color - CSS 3

The border-color property sets the color of an element's four borders. This property can 
have from one to four values.Examples:Note: Always declare the border-style property before the border-color
property. An element must have borders before you can change the color.


Syntax

border-color: color|transparent|initial|inherit;


Example

p
	{
	   
	border-style: solid;
	   
	border-color: #ff0000 #0000ff;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference