Margin Padding
This refers to the space around the block’s border.
A visual aid:
Margin: control how much space is around an element.
Padding: controls the space inside an element, around its content.
Last updated
This refers to the space around the block’s border.
A visual aid:
Margin: control how much space is around an element.
Padding: controls the space inside an element, around its content.
Last updated