Horizontal: No margin collapse: Declared margin values are retained and margins butt against each other. Element overlap is possible, given some sufficiently large negative margin value.
Vertical: Margins collapse to one shared margin. If both are positive, the larger value determines the margin. If a positive/negative mix, add values to give shared margin value, which can cause element overlap.