Answers for "diffeence between padding and margin"

CSS
1

What is difference between padding and margin?

Margin is said to be the outer space of an element,
the margin is the space outside of the element's border. 
Padding is said to be the inner space of an element, 
the padding is the space inside of the element's border.
Posted by: Guest on October-13-2021

Code answers related to "diffeence between padding and margin"

Browse Popular Code Answers by Language