HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

border-spacing

Description

The border-spacing property for CSS specifies the distance between the borders of adjacent cells.

Syntax

CSS

border-spacing: value;

JS

object.style.borderSpacing = "value";

Values

<'border-spacing'> = <​length​>{1,2}
<length>

Specifies the length using a number followed by a unit of measurement.

Default

2px

Initial

0

Examples

1 · length

2 · JS