更新时间:2022-04-08 22:20:39
padding
是内容和border
之间的空间,而margin
> 是边界外的空间.这是我从 Google 快速搜索中找到的一张图片,它说明了这个想法.
padding
is the space between the content and the border
, whereas margin
is the space outside the border. Here's an image I found from a quick Google search, that illustrates this idea.