Answers for "what is the difference between. margin and padding"

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 "what is the difference between. margin and padding"

Browse Popular Code Answers by Language