Description

Sets the width of one to four borders of an element.

See also:

  • Border
  • Border-style
  • Border-color
  • Border-radius
  • Live Example
    Play with the code in the textarea below.

    Values
    length values or thin, medium, thick
    Default value
    medium
    Introduced in CSS version
    1
    Applies to elements
    All
    Inherited
    No
    Browser Support
    BrowsersIEFirefoxSafariOperaChrome
    Versions51160.2
    Belongs to:

    See the full list CSS properties and browser support: CSS Properties