©
This document usesPHP Chinese website manualRelease
语法:
margin-bottom:
默认值:0
适用于:所有元素,除非 table | inline-table | table-caption 的表格类元素和非替代行内元素之外
继承性:无
动画性:是
计算值:指定的百分比、绝对长度或auto
相关属性:[ margin ] || [ margin-top ] || [ margin-right ] || [ margin-left ]
取值:
auto:水平(默认)书写模式下,其计算值为0
说明:
检索或设置对象底边的外延边距。
替代(Replaced)行内元素可以应用该属性。
非替代(non-Replaced)行内元素要使用该属性必须先使该对象表现为块级或行内块级。
外延边距始终透明。
对应的脚本特性为marginBottom。
兼容性:
Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|---|
Basic Support | 6.0+ | 2.0+ | 4.0+ | 3.1+ | 3.5+ | 3.2+ | 2.1+ | 18.0+ |