📜  填充和边距有什么区别? - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:48.846000             🧑  作者: Mango

代码示例1
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.