CSS3 box-ordinal-group プロパティ
完全な CSS3 リファレンス
例
Specify the display order of the child element of a box:
.box
{
display:-moz-box; /* Firefox */
display:-webkit-box; /* Safari and Chrome */
display:box;
border:1px solid black;
}
.ord1
{
margin:5px;
-moz-box-ordinal-group:1; /* Firefox */
-webkit-box-ordinal-group:1; /* Safari and Chrome */
box-ordinal-group:1;
}
.ord2
{
margin:5px;
-moz-box-ordinal-group:2; /* Firefox */
-webkit-box-ordinal-group:2; /* Safari and Chrome */
box-ordinal-group:2;
} |
Try it yourself »
|
ブラウザ・サポート

box-ordinal-group プロパティをサポートしているブラウザはありません。
Firefox supports an alternative, the -moz-box-ordinal-group property.
Safari and Chrome support an alternative, the -webkit-box-ordinal-group
property.
定義と用法
box-ordinal-group property specifies the display order of the child elements of a box.
Elements with a lower value are displayed before those with a higher value.
注: The display order of the elements with the same group value depend on their
source order.
| デフォルト値: |
1 |
| 継承: |
no |
| バージョン: |
CSS3 |
| JavaScript構文: |
object.style.boxOrdinalGroup=2 |
構文
| box-ordinal-group: integer; |
| 値 |
説明 |
| integer |
An integer that indicates the display order of the child elements |
完全な CSS3 リファレンス
|