Description

Sets the width, style and color of one to four edges of an outline around an element.
Outlines don't take up space in the box model they just sit above the element just beyond the borders. Outlines aren't restricthed to rectangels and can follow the contours of a unjustified paragraph. Values for color style and width are the same as for borders.

Live Example
Play with the code in the textarea below.

Values
color style width
Default value
none
Introduced in CSS version
2.1
Applies to elements
All
Inherited
No
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions81.51.270.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties