Suggest an editImprove this articleRefine the answer for “Can margin be set to a negative value?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**Yes, `margin` can be negative**: the element then "shifts" and can overlap neighboring blocks, for example a negative `margin-top` pulls it closer to the preceding content. **Key point:** this is valid per the specification and often used, but requires care so as not to break the page's structure.Shown above the full answer for quick recall.Answer (EN)Image`margin` can be negative. Behavior features: - the element can "shift" and overlap neighboring blocks; - a negative `margin-top` and `margin-left` pull the element closer to the preceding content; - a negative `margin-bottom` and `margin-right` can pull neighboring elements inward; This is valid per the specification and is often used, but requires care so as not to break the structure.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.