--- title: '-moz-orient' slug: Web/CSS/-moz-orient translation_of: Web/CSS/-moz-orient ---
-moz-orient
CSS властивість, що задає орієнтацію обраного елемента.
{{cssinfo}}
{{csssyntax}}
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; }
{{EmbedLiveSample("Examples","200","360")}}
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
).
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatGeckoDesktop("6.0")}}{{property_prefix("-moz")}}[1] | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
auto value |
{{CompatNo}} | {{CompatGeckoDesktop("21.0")}}[2] {{CompatNo}}{{CompatGeckoDesktop(40)}} |
{{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
inline and block values |
{{CompatNo}} | {{CompatGeckoDesktop(40)}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatGeckoMobile("6.0")}}{{property_prefix("-moz")}}[1] | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
auto value |
{{CompatNo}} | {{CompatGeckoMobile("21.0")}}[2] {{CompatNo}}{{CompatGeckoDesktop(40)}} |
{{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
inline and block values |
{{CompatNo}} | {{CompatGeckoMobile(40)}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
[1] In Gecko 6.0 {{geckoRelease("6.0")}}, there was a bug that causes vertical {{HTMLElement("progress")}} elements to render with the dimensions of a horizontal bar. This is fixed in Gecko 7.0 {{geckoRelease("7.0")}}.
[2] The auto
value was equivalent to horizontal
.