0

how to differentiate padding and margins ?

how to differentiate padding and margins ?

18th Oct 2016, 5:37 AM
Febri Bagus Ananda
1 Odpowiedź
+ 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.
19th Oct 2016, 8:27 PM
Levon