Example

A simple border-block-color property example:

Laboratory

description & Usage

To determine the color of a border in the direction of the block area, we use the Border-block-color property.

Informations

# Description
Default Value The current color of the element
Inherited no
Animatable yes
Version CSS3
JavaScript syntax object.style.borderBlockColor="pink"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-block-color

Syntax

Values

Values Description
color Specifies the color border.
transparent Makes the border color transparent.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.