CSS border-collapse Property Reference

The CSS border-collapse property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

CSS border-collapse Property Reference

The CSS border-collapse property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

border-collapse overview

The CSS border-collapse property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

border-collapse formal syntax
FieldValue
Formal syntaxseparate | collapse
Initial valueseparate
Applies totableElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Table
StatusStandard

Practical examples

These declarations demonstrate valid ways to set border-collapse. The initial and inherit global keywords remain available even when a property-specific value is preferable.

border-collapse live example
CSS .reset-example { border-collapse: initial; } .inherit-example { border-collapse: inherit; } @supports (border-collapse: initial) { .supported { border-collapse: initial; } }

Description

The CSS border-collapse property is a standard property in CSS Table. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: border-collapse
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies