outline-width

The outline-width property sets the width of an element's outline.

CSS2

Syntax

outline-width: thin | medium | thick | <length> | inherit
Initial: medium
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual, interactive

Values

outline-width: value
Value Initial Description
length
medium medium
thick
thin

DOM

[window.]document.getElementById("element-id").style.outlineWidth = "outline-width";

Example | length

Example | medium

Example | thick

Example | thin

Example | DOM

External

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification

W3C CSS Basic User Interface Module Level 3 (CSS3 UI)