Introduction
Negative margins help move elements closer or overlap them by pulling them outside their normal space.
To overlap two boxes slightly for a cool design effect.
To pull a button closer to a heading when spacing is too wide.
To fix unwanted gaps between elements without changing padding.
To create layered card layouts where cards partially cover each other.