How do I set margins in CSS?

How do I set margins in CSS?

Hi Toby,

You can use the margin property to set margins. The property values can be lengths (px, em, rem), percentages, or auto .

You can learn more about setting margins in CSS from the below article: