margin css properties code example Example 1: css margin bottom .yourClass { margin-bottom: 25px; } Example 2: css code for margin body { margin: 0px; }