outline

Syntax

Δ

CSS

outline: [ <'outline-color'> || <'outline-style'> || <'outline-width'> ] | inherit

DOM

[window.]document.getElementById("element-id").style.outline = "outline-color outline-style outline-width";
Initial: value of the color property, none, medium
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual, interactive

Example | color | color

Δ

Example | color | invert

Δ

Example | style | dashed

Δ

Example | style | dotted

Δ

Example | style | double

Δ

Example | style | groove

Δ

Example | style | hidden

Δ

Example | style | inset

Δ

Example | style | none

Δ

Example | style | outset

Δ

Example | style | ridge

Δ

Example | style | solid

Δ

Example | width | length

Δ

Example | width | medium

Δ

Example | width | thick

Δ

Example | width | thin

Δ

Example | DOM

Δ

Reference

Δ