CSS MARGIN

The property margin specifies the spacing between elements HMTL.

It has no color, is always transparent.

You can specify a different gap on each side

For example:

margin-top:10px; margin-right:5px; margin-bottom:12px; margin-left:7px;

You can also set all on the same line (top, right, bottom, left)

margin:10px 5px 12px 7px;

If top and bottom margins are equal (10px), and left and right margins are equal (7px), we can specify only 2 values:

margin:10px 7px;

If you specify only one value, the four sides have the same value.

margin: 20px;