border-collapse

The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

When cells are collapsed, the border-style value of inset behaves like groove, and outset behaves like ridge.

When cells are separated, the distance between cells is defined by the border-spacing property.