Outline: style + color + width

outline

Set the outline-style, outline-color and outline-width of an element's outline ("outside-the-box" border).

Property values

The outline border is typically used to show which element on a page has the keyboard focus.

Specify any of the three properties in any order. See their separate specifications for details.

Examples

outline: solid 2px yellow;
outline

style > framing > outlineOutline: style + color + width

Q