非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
-moz-orient
CSS
property specifies the orientation of the element to which it's applied.
-moz-orient
property is specified as one of the keyword values chosen from the list below.
inline
The element is rendered in the same direction as the axis of the text: horizontally for horizontal writing modes, vertically for vertical writing modes.
block
The element is rendered orthogonally to the axis of the text: vertically for horizontal writing modes, horizontal for vertical writing modes.
horizontal
The element is rendered horizontally.
vertical
The element is rendered vertically.
| 初始值 |
inline
|
|---|---|
| 适用于 |
any element; it has an effect on
progress
and
meter
, but not on <input type="range"> or other elements
|
| 继承 | no |
| 计算值 | 如指定 |
| 动画类型 | discrete |
inline | block | horizontal | vertical
<p> The following progress meter is horizontal (the default): </p> <progress max="100" value="75"></progress> <p> The following progress meter is vertical: </p> <progress class="vert" max="100" value="75"></progress>
.vert {
-moz-orient: vertical;
width: 16px;
height: 150px;
}
Not part of any standard. Though
submitted
to the W3C, with positive initial feedback, this property is not yet part of any specification; currently, this is a Mozilla-specific extension (that is,
-moz-orient
).
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-moz-orient
非标
|
Chrome 不支持 No | Edge 不支持 No | Firefox 完整支持 6 | IE 不支持 No | Opera 不支持 No | Safari 不支持 No | WebView Android 不支持 No | Chrome Android 不支持 No | Firefox Android 完整支持 6 | Opera Android 不支持 No | Safari iOS 不支持 No | Samsung Internet Android 不支持 No |
auto
value
弃用
非标
|
Chrome 不支持 No | Edge 不支持 No |
Firefox
不支持
21 — 40
注意事项
|
IE 不支持 No | Opera 不支持 No | Safari 不支持 No | WebView Android 不支持 No | Chrome Android 不支持 No |
Firefox Android
不支持
21 — 40
注意事项
|
Opera Android 不支持 No | Safari iOS 不支持 No | Samsung Internet Android 不支持 No |
inline
and
block
值
非标
|
Chrome 不支持 No | Edge 不支持 No | Firefox 完整支持 40 | IE 不支持 No | Opera 不支持 No | Safari 不支持 No | WebView Android 不支持 No | Chrome Android 不支持 No | Firefox Android 完整支持 40 | Opera Android 不支持 No | Safari iOS 不支持 No | Samsung Internet Android 不支持 No |
完整支持
不支持
非标。预期跨浏览器支持较差。
弃用。不要用于新网站。
见实现注意事项。
-moz-context-properties
-moz-float-edge
-moz-force-broken-image-icon
-moz-image-region
-moz-orient
-moz-outline-radius
-moz-outline-radius-bottomleft
-moz-outline-radius-bottomright
-moz-outline-radius-topleft
-moz-outline-radius-topright
-moz-user-focus
-moz-user-input
box-align
box-direction
box-flex
box-flex-group
box-lines
box-ordinal-group
box-orient
box-pack