Answers for "is padding and margin the same?"

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 "is padding and margin the same?"

Browse Popular Code Answers by Language