CSS 属性:margin-bottom
元素的底部边距,位于底部边框、内边距和内容区域之外。
可能的值
| 值 | 注意 | 示例 |
|---|---|---|
| [length] | 10px | |
| [percentage] | 以包含块宽度的百分比计算。 | 25% |
auto | ||
inherit | ||
initial | ||
unset | ||
示例
#fox { margin-bottom: 20px; }
margin-bottom元素的底部边距,位于底部边框、内边距和内容区域之外。
| 值 | 注意 | 示例 |
|---|---|---|
| [length] | 10px | |
| [percentage] | 以包含块宽度的百分比计算。 | 25% |
auto | ||
inherit | ||
initial | ||
unset | ||
#fox { margin-bottom: 20px; }