CSS unicode-bidi property
Examples
Rewrite the text:
div
{
direction:rtl;
unicode-bidi:bidi-override;
}
{
direction:rtl;
unicode-bidi:bidi-override;
}
Browser Support
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
unicode-bidi | 2.0 | 5.5 | 1.0 | 1.3 | 9.2 |
Definition and Usage
unicode-bidi properties and direction attributes used together to set or return whether the text has been rewritten to support multiple languages in the same document.
Defaults: | normal |
---|---|
inherit: | Yes |
Can be animated: | no. Please refer to animation (Animatable) . |
version: | CSS2 |
JavaScript syntax: | object .style.unicodeBidi = "bidi-override"try |
CSS Syntax
unicode-bidi: normal|embed|bidi-override|intitial|inherit;
Property Value
值 | 描述 | 测试 |
---|---|---|
normal | 默认。不使用附加的嵌入层面。 | 测试 » |
embed | 创建一个附加的嵌入层面。 | 测试 » |
bidi-override | 创建一个附加的嵌入层面。重新排序取决于 direction 属性。 | 测试 » |
initial | 设置该属性为它的默认值。请参阅 initial 。 | 测试 » |
inherit | 从父元素继承该属性。请参阅 inherit 。 |
related articles
CSS tutorial: CSS the Text (text)
HTML DOM Reference: unicodeBidi property