Description

Sets the border style of the one to four edges of an element.

See also:

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

    Values
    dashed, dotted, double, groove, hidden, inset, none, outset, ridge, solid
    Default value
    none
    Introduced in CSS version
    1
    Applies to elements
    All
    Inherited
    No
    Browser Support
    BrowsersIEFirefoxSafariOperaChrome
    Versionsfull 8, part 5.51160.2
    Belongs to:

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