border-style

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

border-style: [ none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset ]{1,4} | inherit
Initial: none
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual

DOM

Δ

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

Example | dashed

Δ

Example | dotted

Δ

Example | double

Δ

Example | groove

Δ

Example | hidden

Δ

Example | inset

Δ

Example | none

Δ

Example | outset

Δ

Example | ridge

Δ

Example | solid

Δ

Example | DOM

Δ

References

Δ