We’ve looked a lot at how to style with CSS. Let’s switch gears now and look at how to lay out and position elements.
Padding
The padding is the spacing between an element’s content and its border. By default, most elements have zero padding. An element’s padding is not inherited by its children.