- 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.- Example
p{outline:red solid medium;}
- Values
- color style width
- Default value
- none
- Introduced in CSS version
- 2.1
- Applies to elements
- All
- Inherited
- No
- Browser Support
Browsers IE 
Firefox 
Safari 
Opera 
Chrome 
Versions 8 1.5 1.2 7 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties