The CSS outline property defines the width, line style, and color of the outline of an element. It is a shorthand property for setting the outline-width, outline-style, and outline-color CSS properties.
CSS outline property allows us to draw a line around the element, outside the border.
CSS has following outline properties:
If outline-color is omitted, the color applied will be the color of the text.
Note: The outline is not a part of the element's dimensions, therefore the element's width and height properties do not contain the width of the outline.
Supported Browsers: The browser supported by property are listed below: