CSS · The box model
margin
Space outside the border. Auto horizontal margins centre a fixed-width block.
Syntax
margin: 16px autoExample
Try it
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.