CSS outline property

Usage

Specifies an outline for an element. Similar to border but it does not affect element size or position. Not supported by many browsers.

Values

  • outline-color, outline-style, and outline-width values

Example

Code:

p {
  outline: blue solid thin;
}