You are here : cssCSS 3border

border - CSS 3

The border shorthand property sets all the border properties in 
one declaration.The properties that can be set, are (in order): border-width, border-style, and border-color.It does not matter if one of the values above are missing, e.g. border:solid #ff0000; is allowed.


Syntax

border: border-width border-style border-color|initial|inherit;


Example

p 
	{
	   
	border: 5px solid red;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference