You are here : cssCSS 3outline-offset

outline-offset - CSS 3

The outline-offset property adds space between an outline and the edge or 
border of an element.Outlines differ from borders in two ways:


Syntax

outline-offset: length|initial|inherit;


Example

div
	{
	   
	border: 2px solid black;
	   
	outline: 2px solid red;
	   
	outline-offset: 15px;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference