CSS Properties

User Guide / CSS Properties

border

Syntax

border: color || border-style || border-width

Default

none

Inherited

No

Comments

The border property is a shorthand for setting the following CSS properties:

border-bottom-color
border-bottom-style
border-bottom-width
border-left-color
border-left-style
border-left-width
border-right-color
border-right-style
border-right-width
border-top-color
border-top-style
border-top-width