The border-spacing
property in
This property is only used when the
border-collapse
property is set toseparate
.
border-spacing: length|initial|inherit;
length
: Sets the values in px
, cm
, pt
, etc. to define the distance between the borders.
If two values are defined, then the first value represents the horizontal space and the second value represents the vertical space.
initial
: Sets the value to its default value.
inherit
: Inherits property from its parent value.
Below is the basic border-spacing
property.