0
how to differentiate padding and margins ?
how to differentiate padding and margins ?
1 Antwort
+ 1
Padding is the space inside the element borders.
Margin is the space outside the element borders.
use padding to move the content of the element away from it's borders.
use margin to move the element away from other elements.
hope that helps.