You are here : cssCSS 3border-top-width

border-top-width - CSS 3

The border-top-width property sets the width of an element's top border.Note: Always declare the border-style property before the border-top-width
property. An element must have borders before you can change the width.


Syntax

border-top-width: medium|thin|thick|length|initial|inherit;


Example

p 
	{
	   
	border-style: solid;
	   
	border-top-width: 15px;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference