border-style

pattern style of the element's border

Example

1

Description

pattern style of the element's border

This is a shortcut property to set all border-*-style properties in one declaration. The number of values given determines which borders are affected. 4 values: top, right, bottom, left 3 values: top, right and left, bottom 2 values: top and bottom, right and left 1 value: all four borders

Values

Value Description
Values
border-top-style border-right-style border-bottom-style border-left-style