# Property Description

The border shorthand property sets all the border properties in one declaration and is composed of the `border-width`, `border-style`, and `border-color` properties.

Note: Any values not specified are set to their default properties.

# Property Values

Value | Description
--- | ---
border-width | Specifies the width of the border. See `border-width` for possible values
border-style | Specifies the style of the border. See `border-style` for possible values
border-color | Specifies the color of the border. See `border-color` for possible values
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example sets the width, style, and color of all four borders.

    p {
      border:5px solid red;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | No
Defined In: | CSS1