You are here : cssCSS 3outline-width

outline-width - CSS 3

An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".The outline-width specifies the width of an outline.Note: Always declare the outline-style property before the outline-width property. An element must have an outline before you change the width of it.


Syntax

outline-width: medium|thin|thick|length|initial|inherit;


Example

p 
	{
	   
	outline-style: dotted;
	   
	outline-width: 5px;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference