中文字幕一区二区人妻电影,亚洲av无码一区二区乱子伦as ,亚洲精品无码永久在线观看,亚洲成aⅴ人片久青草影院按摩,亚洲黑人巨大videos

box-direction

實(shí)例

由右至左,顯示一個(gè)div box的子元素:

div
{
width:350px;
height:100px;
border:1px solid black;

/* Internet Explorer 10 */
display:-ms-flexbox;
-ms-flex-direction:row-reverse;

/* Firefox */
display:-moz-box;
-moz-box-direction:reverse;

/* Safari, Opera, and Chrome */
display:-webkit-box;
-webkit-box-direction:reverse;

/* W3C */
display:box;
box-direction:reverse;
}

運(yùn)行代碼 ?

瀏覽器支持

Internet ExplorerFirefoxOperaGoogle ChromeSafari

目前主流瀏覽器不支持 box-direction 屬性。

Internet Explorer 10通過(guò)私有屬性 the -ms-flex-direction 支持.

Firefox通過(guò)私有屬性- MOZ-box-direction支持。

Safari和Chrome通過(guò)私有屬性-WebKit-box-direction屬性。

注意: Internet Explorer 9及更早IE版本不支持彈性框.


屬性定義及使用說(shuō)明

box-direction屬性指定顯示哪個(gè)方向的box的子元素。

默認(rèn)值: normal
繼承性: no
版本: CSS3
JavaScript 語(yǔ)法: object.style.boxDirection="reverse"

語(yǔ)法

box-direction: normal|reverse|inherit;
描述
normal 以默認(rèn)方向顯示子元素。
reverse 以反方向顯示子元素。
inherit 應(yīng)該從子元素繼承 box-direction 屬性的值