description & Usage
To determine the distance between the cells of the box, we use the Border-spacing property.
Informations
| # | Description |
|---|---|
| Default Value | 2px |
| Inherited | yes |
| Animatable | yes |
| Version | CSS2 |
| JavaScript syntax | object.style.borderSpacing="15px" |
Browser compatibility and Support
| # | Chrome | Edge | Firefox | Safari | Opera |
|---|---|---|---|---|---|
| border-spacing |
Syntax
Values
| Values | Description |
|---|---|
| length length | Determines the distance between the borders of adjacent cells in centimeters, pixels, etc. |
| initial | Adds this value to its default property. |
| inherit | It inherits this value from its parent tag. |