Description

Also (border-left, border-right, border-top)
Shorthand attributes for setting the width style and color of one of the elements four borders.
Default values will be used in place of left out attributes.

See also:

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

    Values
    width style color
    Default value
    none
    Introduced in CSS version
    1
    Applies to elements
    All
    Inherited
    No
    Browser Support
    BrowsersIEFirefoxSafariOperaChrome
    Versions5.51160.2
    Belongs to:

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