Margins

The majority of these settings should get left as default. However, if you feel confident, feel free to adjust and change the parameters.

Adjusting β€œmargins” will change the space around elements.

1 px margin β€” gap between boxes
5 px margin β€” gap between boxes
10 px margin β€” gap between elements
20 px margin β€” gap between elements

When unspecified, margin is applied equally around elements. The margin property has four values.

  • top margin

  • right margin

  • bottom margin

  • left margin

Other values:

Last updated

Was this helpful?