Answers for "difference between margin and padding property of css"

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 "difference between margin and padding property of css"

Browse Popular Code Answers by Language