The margin-right CSS property sets the margin space required on the right side of an element. A negative value is also allowed.