fit-position 填充位置

设置填充对象在容器盒内的位置,除了属性值为 auto 外,此属性值的含义与 background-position 属性值的含义相同。

语法:

{ fit-position : sFitPosition }

默认值: 0% 0%
继承性:
DOM 语法: object.style.fitPosition = sFitPosition
适用于: 可替换元素
浏览器支持:

可能的值:

[ [<percentage>| <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | auto

描述
<percentage> <percentage> 相对于盒本身的百分比。
<length> <length> 设置固定的值。
'top left', 'left top' 等同于 '0% 0%'
'top', 'top center', 'center top' 等同于 '50% 0%'
'right top', 'top right' 等同于 '100% 0%'
'left', 'left center', 'center left' 等同于 '0% 50%'
'center', 'center center' 等同于 '50% 50%'
'right', 'right center', 'center right' 等同于 '100% 50%'
'bottom left', 'left bottom' 等同于 '0% 100%'
'bottom', 'bottom center', 'center bottom' 等同于 '50% 100%'
'bottom right', 'right bottom' 等同于 '100% 100%'
auto 对象的左上角与盒容器的左上角一致。

说明:

本属性最后更新时间:2011-4-4 9:27:58