CSS property: -webkit-margin-collapse

Description

Specifies the behavior of an element’s vertical margins if it is adjacent to an element with a margin. Elements can maintain their respective margins or share a single margin between them.

This property allows you to emulate the behavior of some browsers in quirks mode where table cell margins are collapsed into the borders of vertically adjacent cells.

See -webkit-margin-bottom-collapse and -webkit-margin-top-collapse.

Syntax

-webkit-margin-collapse: <collapse_behavior>;

Values

<collapse_behavior>

The behavior of the vertical margins.

Versions