border

properties of the element's border, such as width, style, and color

Example

1

Description

properties of the element's border, such as width, style, and color

This is a shortcut property that sets the border-width, border-style, and border-color properties in one statement. It's not necessary to provide all three values, but they must appear in that order.

Values

Value Description
Values
border-width border-style border-color