Help Center

Local Navigation

CSS property: border-color

Availability

BlackBerry® Device Software version 4.6 or later

Usage

All elements

Inherited

Yes

Default value

The current foreground color of the element, or the value of the color property.

The border-color property specifies a color for all sides of the border.

Property values

Value

Description

color

This value specifies a valid color. A valid color can be specified in the following ways:

  • an RGB value, such as rgb(250,239,111)

  • hexadecimal notation, such as #770aff or #70f (equal to #7700ff)

  • a valid textual color name, such as red

transparent

This value makes the border invisible. Invisible borders may still have width associated with them.

inherit

This value specifies that the element inherits the border-color property of the containing element.

Index


Was this information helpful? Send us your comments.