border-width

The border-width property is a shorthand property for setting border-top-width, border-right-width, border-bottom-width, and border-left-width.

border-width: [ thin | medium | thick | <length> ]{1,4} | inherit
Initial: medium
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual

DOM

Δ

[window.]document.getElementById("element-id").style.borderWidth = "border-top-width border-right-width border-bottom-width border-left-width";

Example | length

Δ

Example | medium

Δ

Example | thick

Δ

Example | thin

Δ

Example | DOM

Δ

References

Δ